Hi, can someone explain what im doign wrong here? i feel like im using this command correctly but it doesnt seem to do anyhting. i want the servo to go to its positon. wait 1s then remove power so its not locked up and creating heat. any advice?
captive_portal:
servo:
- id: my_servo
output: pwm_output
auto_detach_time: 1s #not working????
transition_length: 3s
# Example output platform
output:
- platform: esp8266_pwm
id: pwm_output
pin: D4
frequency: 50 Hz
number:
- platform: template
name: Servo Control
min_value: -100
max_value: 100
step: 1
set_action:
then:
- servo.write:
id: my_servo
level: !lambda 'return x/100;'