4
0
Эх сурвалжийг харах

add icons for thermostat preset modes (#4606)

* add icons for thermostat preset modes

* remove icons that are already HA defined
kongo09 4 өдөр өмнө
parent
commit
6d5971cdb5

+ 15 - 0
custom_components/tuya_local/icons.json

@@ -69,6 +69,21 @@
                     "heat": "mdi:hot-tub",
                     "heat": "mdi:hot-tub",
                     "cool": "mdi:snowflake"
                     "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": {
         "fan": {