mirror of
https://github.com/CCOSTAN/Home-AssistantConfig.git
synced 2025-02-21 16:44:46 +00:00
Trying to do some cool stuff.
This commit is contained in:
parent
f3e1ba125d
commit
4fdd749711
@ -4,7 +4,7 @@
|
|||||||
# action:
|
# action:
|
||||||
# - service: script.reliability
|
# - service: script.reliability
|
||||||
######################################################################################################
|
######################################################################################################
|
||||||
|
|
||||||
{% macro swTest(onoff='') %}
|
{% macro swTest(onoff='') %}
|
||||||
- service: switch.turn_{{ states(onoff) }}
|
- service: switch.turn_{{ states(onoff) }}
|
||||||
entity_id: {{ onoff }}
|
entity_id: {{ onoff }}
|
||||||
@ -18,4 +18,3 @@ switch_check:
|
|||||||
{{ swTest("switch.den_outlet") }}
|
{{ swTest("switch.den_outlet") }}
|
||||||
{{ swTest("switch.living_room_outlet") }}
|
{{ swTest("switch.living_room_outlet") }}
|
||||||
{{ swTest("switch.living_room_amp") }}
|
{{ swTest("switch.living_room_amp") }}
|
||||||
|
|
Loading…
x
Reference in New Issue
Block a user