Преглед изворни кода

Arknoah aquarium light: split switch out from Blue light

Switch does not seem to work when combined with Blue light.
Leave the switch as a separate entity for now until more is known.

Issue #2941
Jason Rumney пре 11 месеци
родитељ
комит
619fa41af9
1 измењених фајлова са 6 додато и 3 уклоњено
  1. 6 3
      custom_components/tuya_local/devices/arknoah_aquarium_lights.yaml

+ 6 - 3
custom_components/tuya_local/devices/arknoah_aquarium_lights.yaml

@@ -4,12 +4,15 @@ products:
     manufacturer: Arknoah
     model: 165W 3 channel
 entities:
-  - entity: light
-    name: Blue
+  - entity: switch
+    category: config
     dps:
       - id: 20
         type: boolean
-        name: switch
+        name: switch        
+  - entity: light
+    name: Blue
+    dps:
       - id: 21
         name: effect
         type: string