Bläddra i källkod

Add Yandex lightbulb as variant of RGBCW lightbulb

For now this is documentation only, as product ids are not yet being used.

Issue #187
Jason Rumney 3 år sedan
förälder
incheckning
5899adb960
2 ändrade filer med 21 tillägg och 1 borttagningar
  1. 1 1
      README.md
  2. 20 0
      custom_components/tuya_local/devices/rgbcw_lightbulb.yaml

+ 1 - 1
README.md

@@ -160,7 +160,7 @@ Other brands may work with the above configurations
 - Simple Switch with Timer - a single switch and timer, will probably work for a lot of smart switches that are not covered by the more advanced configs above.
 
 ### Lights
-- Generic RGBCW/RGBWW lightbulb (expected to match many such devices)
+- Generic RGBCW/RGBWW lightbulb (confirmed with Lijun and Yandex branded bulbs, expected to match many more)
 
 ### Covers
 - Simple Garage Door

+ 20 - 0
custom_components/tuya_local/devices/rgbcw_lightbulb.yaml

@@ -1,6 +1,9 @@
 name: RGBCW Light bulb
 product:
   - id: aok3caeleulg1neh
+    name: Lijun Smart Bulb RGBCW
+  - id: muushnich7dcbbxi
+    name: Yandex Color Bulb
 primary_entity:
   entity: light
   dps:
@@ -57,6 +60,23 @@ primary_entity:
     - id: 25
       name: scene_data
       type: hex
+#  The following were removed because they aren't always present,
+#  and anyway they are complex hex data fields that we cannot handle.
+#   - id: 27
+#     name: music_data
+#     type: hex
+#   - id: 28
+#     name: control_data
+#     type: hex
+#   - id: 30
+#     name: rhythm_mode
+#     type: hex
+#   - id: 31
+#     name: sleep_mode
+#     type: hex
+#   - id: 32
+#     name: wakeup_mode
+#     type: hex
 secondary_entities:
   - entity: number
     name: Timer