[servo] Use register_apply_action for servo.write and servo.detach (#19531)

This commit is contained in:
J. Nick Koston
2026-09-23 17:20:29 -05:00
committed by GitHub
parent 0110215e31
commit bd1efeae94
3 changed files with 7 additions and 52 deletions
+3
View File
@@ -4,6 +4,9 @@ esphome:
- servo.write:
id: test_servo
level: -100.0%
- servo.write:
id: test_servo
level: !lambda return 0.5;
- servo.detach: test_servo
output: