Преглед изворни кода

AlecoAir D16: icon changes

- remove not needed icons
- adjust priorities for consistency
- remove optional tags that are in the wrong place.
Jason Rumney пре 2 година
родитељ
комит
09ae240a9c
1 измењених фајлова са 1 додато и 5 уклоњено
  1. 1 5
      custom_components/tuya_local/devices/alecoair_d16_dehumidifier.yaml

+ 1 - 5
custom_components/tuya_local/devices/alecoair_d16_dehumidifier.yaml

@@ -12,7 +12,7 @@ primary_entity:
       mapping:
         - dps_val: false
           icon: "mdi:air-humidifier-off"
-          icon_priority: 1
+          icon_priority: 2
         - dps_val: true
           icon: "mdi:air-humidifier"
           icon_priority: 4
@@ -52,7 +52,6 @@ primary_entity:
       mapping:
         - dps_val: 0
           value: OK
-          icon: "mdi:cup-outline"
         - dps_val: 1
           value: "Water Tank Full or Removed"
           icon: "mdi:cup-water"
@@ -111,7 +110,6 @@ secondary_entities:
     class: problem
     name: Tank full
     icon: "mdi:cup-water"
-    optional: true
     dps:
       - id: 19
         type: bitfield
@@ -123,8 +121,6 @@ secondary_entities:
   - entity: binary_sensor
     class: problem
     name: Fault
-    icon: "mdi:engine-off-outline"
-    optional: true
     dps:
       - id: 19
         type: bitfield