Browse Source

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 4 months ago
parent
commit
cbbd502929
1 changed files with 2 additions and 2 deletions
  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