Просмотр исходного кода

Added Leictory LK06 sprinkler controller & made the SH07 sprinkler controller device definiton support controllers with at least 4 zones

Csongor Zalatnai 1 год назад
Родитель
Сommit
e20d4940f6

+ 6 - 0
custom_components/tuya_local/devices/sh07_sprinkler_controller.yaml

@@ -4,6 +4,8 @@ products:
     name: SH07-8
   - id: mxh2sjigimo463mg
     name: Aquarobo SH07S-TY
+  - id: figmzixtki7bourh
+    name: Leictory LK06
 primary_entity:
   entity: valve
   name: Valve 1
@@ -41,6 +43,7 @@ secondary_entities:
       - id: 105
         name: valve
         type: boolean
+        optional: true
   - entity: valve
     name: Valve 6
     class: water
@@ -48,6 +51,7 @@ secondary_entities:
       - id: 106
         name: valve
         type: boolean
+        optional: true
   - entity: valve
     name: Valve 7
     class: water
@@ -55,6 +59,7 @@ secondary_entities:
       - id: 110
         name: valve
         type: boolean
+        optional: true
   - entity: valve
     name: Valve 8
     class: water
@@ -62,6 +67,7 @@ secondary_entities:
       - id: 111
         name: valve
         type: boolean
+        optional: true
   - entity: sensor
     name: Weather
     class: enum