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

fix(starlight_heatpump): avoid starting options with numbers

Something is reportedly preventing the options from being selected.
The only possibility seems to be the fact the options are just number and percent signs

Issue #4981
Jason Rumney 18 часов назад
Родитель
Сommit
d83f9058b0
1 измененных файлов с 4 добавлено и 4 удалено
  1. 4 4
      custom_components/tuya_local/devices/starlight_heatpump.yaml

+ 4 - 4
custom_components/tuya_local/devices/starlight_heatpump.yaml

@@ -319,10 +319,10 @@ entities:
         name: option
         mapping:
           - dps_val: "off"
-            value: "Off (100%)"
+            value: "Off 100%"
           - dps_val: L1
-            value: "30%"
+            value: "L1 30%"
           - dps_val: L2
-            value: "50%"
+            value: "L2 50%"
           - dps_val: L3
-            value: "70%"
+            value: "L3 70%"