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

add icons for thermostat preset modes (#4606)

* add icons for thermostat preset modes

* remove icons that are already HA defined
kongo09 3 дней назад
Родитель
Сommit
6d5971cdb5
1 измененных файлов с 15 добавлено и 0 удалено
  1. 15 0
      custom_components/tuya_local/icons.json

+ 15 - 0
custom_components/tuya_local/icons.json

@@ -69,6 +69,21 @@
                     "heat": "mdi:hot-tub",
                     "cool": "mdi:snowflake"
                 }
+            },
+            "thermostat": {
+                "default": "mdi:thermostat",
+                "state_attributes": {
+                    "preset_mode": {
+                        "state": {
+                            "auto": "mdi:thermostat-auto",
+                            "comfort_1": "mdi:home-heart",
+                            "comfort_2": "mdi:home-heart",
+                            "manual": "mdi:hand-back-right",
+                            "program": "mdi:calendar-clock",
+                            "temp_override": "mdi:calendar-lock"
+                        }
+                    }
+                }
             }
         },
         "fan": {