本帖最后由 jhbl 于 2022-9-5 20:09 编辑
用了官方模板设置了灯光调光亮度,但是亮度数值却无法设置到数值"0",最低只能设置为"1"。官方模板:
# Example configuration.yaml entry
mqtt:
light:
- name: "Office light"
state_topic: "office/light/status"
command_topic: "office/light/switch"
brightness_state_topic: 'office/light/brightness'
brightness_command_topic: 'office/light/brightness/set'
qos: 0
payload_on: "ON"
payload_off: "OFF"
optimistic: false
配置的yaml文件:
滑条移动到最左边,亮度数值无法设置为"0",最低为"1",此时,灯光开关按键还是"on"状态,无法到达"off"状态。
麻烦各位大佬看看问题出在哪里?先在此谢过了!
|