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

Quote icons: without quoting, the HA yaml parser does not work

The parser get confused by embedded : in the string if not quoted.
Jason Rumney 1 месяц назад
Родитель
Сommit
cbbd502929
1 измененных файлов с 2 добавлено и 2 удалено
  1. 2 2
      custom_components/tuya_local/devices/advwin_humidifier.yaml

+ 2 - 2
custom_components/tuya_local/devices/advwin_humidifier.yaml

@@ -38,7 +38,7 @@ entities:
         optional: true
   - entity: switch
     name: Warm mist
-    icon: mdi:fire
+    icon: "mdi:fire"
     category: config
     dps:
       - id: 25
@@ -55,7 +55,7 @@ entities:
         optional: true
   - entity: fan
     name: Spray level
-    icon: mdi:spray
+    icon: "mdi:spray"
     category: config
     dps:
       - id: 23