mirror of
https://github.com/esphome/esphome.git
synced 2025-10-11 14:23:47 +01:00
missing id
This commit is contained in:
@@ -250,6 +250,7 @@ lock:
|
||||
|
||||
valve:
|
||||
- platform: template
|
||||
id: template_valve
|
||||
name: "Template Valve"
|
||||
lambda: |-
|
||||
if (id(some_binary_sensor).state) {
|
||||
@@ -262,6 +263,7 @@ valve:
|
||||
close_action:
|
||||
- logger.log: close_action
|
||||
- valve.template.publish:
|
||||
id: template_valve
|
||||
state: CLOSED
|
||||
stop_action:
|
||||
- logger.log: stop_action
|
||||
|
Reference in New Issue
Block a user