esphome/tests/components/servo/test.esp32-idf.yaml
Keith Burzinski 7e8ed5c391
Add some components to the new testing framework (S part 1) ()
Co-authored-by: Jesse Hills <3060199+jesserockz@users.noreply.github.com>
2024-04-23 21:49:15 +12:00

19 lines
295 B
YAML

esphome:
on_boot:
then:
- servo.write:
id: test_servo
level: -100.0%
- servo.detach: test_servo
output:
- platform: ledc
id: servo_output_1
pin: 12
servo:
id: test_servo
output: servo_output_1
restore: true
min_level: 4%
max_level: 8%