From 4fdd749711451e9bca372fc4a52a82c4c98d62e7 Mon Sep 17 00:00:00 2001 From: CCOSTAN Date: Tue, 13 Dec 2016 02:43:57 +0000 Subject: [PATCH] Trying to do some cool stuff. --- script/Reliability.yaml | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/script/Reliability.yaml b/script/Reliability.yaml index c26db784..bd144f28 100755 --- a/script/Reliability.yaml +++ b/script/Reliability.yaml @@ -4,7 +4,7 @@ # action: # - service: script.reliability ###################################################################################################### - + {% macro swTest(onoff='') %} - service: switch.turn_{{ states(onoff) }} entity_id: {{ onoff }} @@ -18,4 +18,3 @@ switch_check: {{ swTest("switch.den_outlet") }} {{ swTest("switch.living_room_outlet") }} {{ swTest("switch.living_room_amp") }} - \ No newline at end of file