More switches Bitches.

This commit is contained in:
CCOSTAN
2016-12-13 20:24:32 +00:00
parent 09a711041f
commit 0d7239079d
5 changed files with 18 additions and 3 deletions

View File

@@ -5,7 +5,7 @@
# - service: script.reliability
######################################################################################################
{% macro swTest(onoff='') %} - service: switch.turn_{{ states(onoff) }}
{% macro swTest(onoff) %} - service: switch.turn_{{ states(onoff) }}
entity_id: {{ onoff }}{% endmacro %}
switch_check:

View File

@@ -25,6 +25,9 @@ switch_turn_off_all:
- service: switch.turn_off
entity_id: switch.garage_outlet
- delay: '00:01:00'
- service: switch.turn_off
entity_id: switch.dining_room_outlet
- delay: '00:01:00'
- service: switch.turn_off
entity_id: switch.living_room_amp
@@ -47,5 +50,7 @@ switch_turn_off_all:
entity_id: switch.garage_outlet
- delay: '00:01:00'
- service: switch.turn_off
entity_id: switch.living_room_amp
entity_id: switch.dining_room_outlet
- delay: '00:01:00'
- service: switch.turn_off
entity_id: switch.living_room_amp