[miio] add support Mi Smart LED Bulb Essential (yeelink.light.color5) (#10531)
Signed-off-by: Marcel Verpaalen <marcel@verpaalen.com>
This commit is contained in:
@@ -288,6 +288,7 @@ public enum MiIoDevices {
|
||||
YEELINK_LIGHT_COLOR2("yeelink.light.color2", "Yeelight LED Bulb (Color)", THING_TYPE_BASIC),
|
||||
YEELINK_LIGHT_COLOR3("yeelink.light.color3", "Mi LED Smart Bulb (White and Color)", THING_TYPE_BASIC),
|
||||
YEELINK_LIGHT_COLOR4("yeelink.light.color4", "Yeelight LED Bulb 1S(Color)", THING_TYPE_BASIC),
|
||||
YEELINK_LIGHT_COLOR5("yeelink.light.color5", "Mi Smart LED Bulb Essential (White and Color)", THING_TYPE_BASIC),
|
||||
YEELINK_LIGHT_COLORA("yeelink.light.colora", "Yeelight Smart LED Bulb 1SE (color)", THING_TYPE_BASIC),
|
||||
YEELINK_LIGHT_CT2("yeelink.light.ct2", "Yeelight LED Bulb (Tunable)", THING_TYPE_BASIC),
|
||||
YEELINK_LIGHT_LAMP1("yeelink.light.lamp1", "Mi LED Desk Lamp", THING_TYPE_BASIC),
|
||||
|
||||
@@ -88,7 +88,7 @@
|
||||
"aiid": 1,
|
||||
"condition": {
|
||||
"name": "matchValue",
|
||||
"parameters" : [
|
||||
"parameters": [
|
||||
{
|
||||
"matchValue": "findme"
|
||||
}
|
||||
@@ -102,7 +102,7 @@
|
||||
"aiid": 2,
|
||||
"condition": {
|
||||
"name": "matchValue",
|
||||
"parameters" : [
|
||||
"parameters": [
|
||||
{
|
||||
"matchValue": "testsound"
|
||||
}
|
||||
@@ -110,7 +110,7 @@
|
||||
}
|
||||
}
|
||||
],
|
||||
"readmeComment": "Value mapping [\"sweep\"\u003d\"Sweep\",\"stopsweep\"\u003d\"Stop Sweep\",\"dock\"\u003d\"Goto Dock\"]"
|
||||
"readmeComment": "Value mapping [\"sweep\"\u003d\"Sweep\",\"stopsweep\"\u003d\"Stop Sweep\",\"dock\"\u003d\"Goto Dock\",\"findme\"\u003d\"Find me\",\"testsound\"\u003d\"Test Sound\"]"
|
||||
},
|
||||
{
|
||||
"property": "status",
|
||||
|
||||
@@ -5,6 +5,7 @@
|
||||
"yeelink.light.color2",
|
||||
"yeelink.light.color3",
|
||||
"yeelink.light.color4",
|
||||
"yeelink.light.color5",
|
||||
"yeelink.light.strip1",
|
||||
"yeelink.light.strip2",
|
||||
"yeelink.light.bslamp1",
|
||||
@@ -164,7 +165,8 @@
|
||||
"tags": [
|
||||
"Control",
|
||||
"Light"
|
||||
]
|
||||
],
|
||||
"readmeComment": "Value mapping [\"0\"\u003d\"Default\",\"1\"\u003d\"CT mode\",\"2\"\u003d\"RGB mode\",\"3\"\u003d\"HSV mode\",\"4\"\u003d\"Color Flow mode\",\"5\"\u003d\"Night Light mode\"]"
|
||||
},
|
||||
{
|
||||
"property": "rgb",
|
||||
|
||||
Reference in New Issue
Block a user