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

Ledkia fan: make minimum speed 0 rather than 1.

Due to floating point imprecision, settings of 1 are being rejected as out of range.
HA automatically converts 0 to "off", so we might as well let it go down to 0.
Jason Rumney 2 лет назад
Родитель
Сommit
67c1d823d4
1 измененных файлов с 1 добавлено и 1 удалено
  1. 1 1
      custom_components/tuya_local/devices/ledkia_fan_light.yaml

+ 1 - 1
custom_components/tuya_local/devices/ledkia_fan_light.yaml

@@ -10,7 +10,7 @@ primary_entity:
       name: speed
       optional: true
       range:
-        min: 1
+        min: 0
         max: 6
       mapping:
         - scale: 0.06