mirror of
https://github.com/home-assistant/home-assistant.io.git
synced 2025-07-21 16:27:19 +00:00
Update restart_ha_if_wemo_switch_is_not_detected.markdown (#591)
This commit is contained in:
parent
a833efa18a
commit
cd648c06f3
@ -68,9 +68,9 @@ automation:
|
||||
from: 'not_home'
|
||||
to: 'home'
|
||||
condition:
|
||||
- platform: template
|
||||
- condition: template
|
||||
value_template: {% raw %}'{% if states.switch.wemo %}false{% else %}true{% endif %}'{% endraw %}
|
||||
- platform: state
|
||||
- condition: state
|
||||
entity_id: script.restarthawemo
|
||||
state: 'off'
|
||||
action:
|
||||
@ -88,7 +88,7 @@ automation:
|
||||
platform: template
|
||||
value_template: {% raw %}'{% if states.switch.wemo %}true{% else %}false{% endif %}'{% endraw %}
|
||||
condition:
|
||||
platform: state
|
||||
condition: state
|
||||
entity_id: script.restarthawemo
|
||||
state: 'on'
|
||||
action:
|
||||
|
Loading…
x
Reference in New Issue
Block a user