[lock] Use register_apply_action for lock.lock, lock.unlock and lock.open (#19601)

This commit is contained in:
J. Nick Koston
2026-09-25 10:21:47 -04:00
committed by GitHub
parent 898ab7c701
commit f7dd9c21c5
3 changed files with 12 additions and 53 deletions
+2 -1
View File
@@ -3,7 +3,8 @@ esphome:
then:
- lock.lock: test_lock1
- lock.unlock: test_lock1
- lock.open: test_lock1
- lock.open:
id: test_lock1
- if:
condition:
lock.is_locked: test_lock1