1
0
30
新手上路
mqtt: light: - name: "Esp_led" state_topic: "esp/state" command_topic: "esp" payload_on: "led_pwm_255" payload_off: "led_pwm_0" unique_id: "Esp_led" optimistic: true brightness_command_topic: "esp" brightness_state_topic: "esp/state" brightness_command_template: "#led_pwm_{{ value }}" brightness_scale: 255 brightness_value_template: > {{ value.split('_')[-1] | int }}
使用道具 举报
3
59
826
高级会员
本版积分规则 发表回复 回帖后跳转到最后一页
Archiver|手机版|小黑屋|Hassbian ( 晋ICP备17001384号-1 )
GMT+8, 2025-7-6 20:46 , Processed in 0.107611 second(s), 15 queries , MemCached On.
Powered by Discuz! X3.5
© 2001-2025 Discuz! Team.