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

IPS Pro heatpump: Remove icons from preset_mode

The icons are all the same, and the same as the power on icon.
Let the icon be set by the power state.  icon_priority is no longer
needed, as there is only one mutually exclusive selection point.
Jason Rumney 3 лет назад
Родитель
Сommit
ac9ee360b3
1 измененных файлов с 0 добавлено и 8 удалено
  1. 0 8
      custom_components/tuya_local/devices/ips_pro_heatpump.yaml

+ 0 - 8
custom_components/tuya_local/devices/ips_pro_heatpump.yaml

@@ -9,27 +9,19 @@ primary_entity:
         - dps_val: false
         - dps_val: false
           value: "off"
           value: "off"
           icon: "mdi:hvac-off"
           icon: "mdi:hvac-off"
-          icon_priority: 1
         - dps_val: true
         - dps_val: true
           value: "heat"
           value: "heat"
           icon: "mdi:hot-tub"
           icon: "mdi:hot-tub"
-          icon_priority: 3
     - id: 2
     - id: 2
       name: preset_mode
       name: preset_mode
       type: string
       type: string
       mapping:
       mapping:
         - dps_val: "silence"
         - dps_val: "silence"
           value: "silence"
           value: "silence"
-          icon: "mdi:hot-tub"
-          icon_priority: 1
         - dps_val: "smart"
         - dps_val: "smart"
           value: "smart"
           value: "smart"
-          icon: "mdi:hot-tub"
-          icon_priority: 3
         - dps_val: "turbo"
         - dps_val: "turbo"
           value: "turbo"
           value: "turbo"
-          icon: "mdi:hot-tub"
-          icon_priority: 3
     - id: 102
     - id: 102
       name: current_temperature
       name: current_temperature
       type: integer
       type: integer