Trying to do some cool stuff.

This commit is contained in:
CCOSTAN 2016-12-13 02:43:57 +00:00
parent f3e1ba125d
commit 4fdd749711

View File

@ -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") }}