Просмотр исходного кода

AlecoAir D16: icon changes

- remove not needed icons
- adjust priorities for consistency
- remove optional tags that are in the wrong place.
Jason Rumney 2 лет назад
Родитель
Сommit
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:
       mapping:
         - dps_val: false
         - dps_val: false
           icon: "mdi:air-humidifier-off"
           icon: "mdi:air-humidifier-off"
-          icon_priority: 1
+          icon_priority: 2
         - dps_val: true
         - dps_val: true
           icon: "mdi:air-humidifier"
           icon: "mdi:air-humidifier"
           icon_priority: 4
           icon_priority: 4
@@ -52,7 +52,6 @@ primary_entity:
       mapping:
       mapping:
         - dps_val: 0
         - dps_val: 0
           value: OK
           value: OK
-          icon: "mdi:cup-outline"
         - dps_val: 1
         - dps_val: 1
           value: "Water Tank Full or Removed"
           value: "Water Tank Full or Removed"
           icon: "mdi:cup-water"
           icon: "mdi:cup-water"
@@ -111,7 +110,6 @@ secondary_entities:
     class: problem
     class: problem
     name: Tank full
     name: Tank full
     icon: "mdi:cup-water"
     icon: "mdi:cup-water"
-    optional: true
     dps:
     dps:
       - id: 19
       - id: 19
         type: bitfield
         type: bitfield
@@ -123,8 +121,6 @@ secondary_entities:
   - entity: binary_sensor
   - entity: binary_sensor
     class: problem
     class: problem
     name: Fault
     name: Fault
-    icon: "mdi:engine-off-outline"
-    optional: true
     dps:
     dps:
       - id: 19
       - id: 19
         type: bitfield
         type: bitfield