فهرست منبع

reverse light switch and add icons (#4196)

George Oniceag 4 ماه پیش
والد
کامیت
fb2f173ef8
1فایلهای تغییر یافته به همراه7 افزوده شده و 0 حذف شده
  1. 7 0
      custom_components/tuya_local/devices/alecoair_pu55_humino.yaml

+ 7 - 0
custom_components/tuya_local/devices/alecoair_pu55_humino.yaml

@@ -55,6 +55,7 @@ entities:
 
   - entity: sensor
     name: Filter Life
+    icon: mdi:air-filter
     dps:
       - id: 5
         name: sensor
@@ -80,6 +81,7 @@ entities:
 
   - entity: sensor
     name: Clean water tank
+    icon: mdi:water-opacity
     dps:
       - id: 106
         name: sensor
@@ -123,6 +125,11 @@ entities:
       - id: 103
         name: switch
         type: boolean
+        mapping:
+          - dps_val: true
+            value: false
+          - dps_val: false
+            value: true
 
   - entity: switch
     name: Dry Fan