[lock] Tidy up template publish action and lockstate locations (#8729)
This commit is contained in:
1 parent
23fb1bed61
commit
b3400a1308
5 files changed
+49
-37
No files matched your search
@@ -27,9 +27,7 @@ lock:
|
||||
id: test_lock1
|
||||
state: !lambda "return LOCK_STATE_UNLOCKED;"
|
||||
on_lock:
|
||||
- lock.template.publish:
|
||||
id: test_lock1
|
||||
state: !lambda "return LOCK_STATE_LOCKED;"
|
||||
- lock.template.publish: LOCKED
|
||||
- platform: output
|
||||
name: Generic Output Lock
|
||||
id: test_lock2
|
||||
|
||||
Reference in new issue
Block a user