Sfoglia il codice sorgente

Adding a few last items to Leos Loo

Rodney Nissen 2 anni fa
parent
commit
27e74e56bc
1 ha cambiato i file con 22 aggiunte e 1 eliminazioni
  1. 22 1
      custom_components/tuya_local/devices/leos_loo_too.yaml

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

@@ -9,6 +9,7 @@ primary_entity:
     - id: 2
       type: string
       name: work_mode
+      icon: "mdi:refresh-auto"
       category: config
       mapping:
         - dps_val: auto_clean
@@ -19,17 +20,37 @@ secondary_entities:
   - entity: switch
     name: Power
     category: config
+    icon: "mdi:power"
+    class: switch
     dps:
       - id: 1
         name: switch
         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
     category: config
     name: Cleaning Delay
     dps:
       - id: 5
         type: integer
-        name: delay_clean_time
+        name: value
         range:
           min: 6
           max: 1200