Explorar o código

Add config switch icons

Nikolas Andreou hai 1 ano
pai
achega
dabe18dc10

+ 3 - 0
custom_components/tuya_local/devices/morris_mdb_12160hiw_dehumidifier.yaml

@@ -67,6 +67,7 @@ entities:
         name: fault_code
         name: fault_code
   - entity: sensor
   - entity: sensor
     name: Water Status
     name: Water Status
+    icon: "mdi:water"
     category: diagnostic
     category: diagnostic
     dps:
     dps:
       - id: 19
       - id: 19
@@ -79,6 +80,7 @@ entities:
             value: "full"
             value: "full"
   - entity: switch
   - entity: switch
     name: Oscillation
     name: Oscillation
+    icon: mdi:arrow-oscillating
     category: config
     category: config
     dps:
     dps:
       - id: 102
       - id: 102
@@ -102,6 +104,7 @@ entities:
         name: switch
         name: switch
   - entity: switch
   - entity: switch
     name: Laundry
     name: Laundry
+    icon: mdi:dishwasher
     category: config
     category: config
     dps:
     dps:
       - id: 105
       - id: 105