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

icons: cannot use numeric state for specific icon

Jason Rumney 1 год назад
Родитель
Сommit
6f651a54bc
1 измененных файлов с 1 добавлено и 4 удалено
  1. 1 4
      custom_components/tuya_local/icons.json

+ 1 - 4
custom_components/tuya_local/icons.json

@@ -83,10 +83,7 @@
         },
         "sensor": {
             "time_remaining": {
-                "default": "mdi:timer",
-                "state": {
-                    0: "mdi:timer-remove"
-                }
+                "default": "mdi:timer"
             }
         },
         "switch": {