Przeglądaj źródła

Adding a few last items to Leos Loo

Rodney Nissen 2 lat temu
rodzic
commit
27e74e56bc

+ 22 - 1
custom_components/tuya_local/devices/leos_loo_too.yaml

@@ -9,6 +9,7 @@ primary_entity:
     - id: 2
     - id: 2
       type: string
       type: string
       name: work_mode
       name: work_mode
+      icon: "mdi:refresh-auto"
       category: config
       category: config
       mapping:
       mapping:
         - dps_val: auto_clean
         - dps_val: auto_clean
@@ -19,17 +20,37 @@ secondary_entities:
   - entity: switch
   - entity: switch
     name: Power
     name: Power
     category: config
     category: config
+    icon: "mdi:power"
+    class: switch
     dps:
     dps:
       - id: 1
       - id: 1
         name: switch
         name: switch
         type: boolean
         type: boolean
+  - entity: switch
+    name: UV
+    category: config
+    icon: "mdi:alarm-light"
+    class: switch
+    dps:
+      - id: 13
+        name: switch
+        type: boolean
+  - entity: switch
+    name: Light
+    category: config
+    icon: "mdi:lightbulb-outline"
+    class: switch
+    dps:
+      - id: 16
+        name: switch
+        type: boolean
   - entity: number
   - entity: number
     category: config
     category: config
     name: Cleaning Delay
     name: Cleaning Delay
     dps:
     dps:
       - id: 5
       - id: 5
         type: integer
         type: integer
-        name: delay_clean_time
+        name: value
         range:
         range:
           min: 6
           min: 6
           max: 1200
           max: 1200