2
5
108
注册会员
使用道具 举报
switch: - platform: template name: "light" optimistic: true turn_on_action: - servo.write: id: my_servo1 level: -30% - delay: 0.1s - servo.write: id: my_servo1 level: -6% turn_off_action: - servo.write: id: my_servo1 level: +14% - delay: 0.1s - servo.write: id: my_servo1 level: -6% servo: - id: my_servo1 output: ledc_output1 output: - platform: ledc id: ledc_output1 pin: GPIO14 frequency: 50 Hz
本版积分规则 发表回复 回帖后跳转到最后一页
Archiver|手机版|小黑屋|Hassbian ( 晋ICP备17001384号-1 )
GMT+8, 2025-6-24 13:24 , Processed in 0.364563 second(s), 22 queries .
Powered by Discuz! X3.5
© 2001-2025 Discuz! Team.