mirror of
https://github.com/CCOSTAN/Home-AssistantConfig.git
synced 2025-08-20 04:04:06 +00:00
Trying to do some cool stuff.
This commit is contained in:
@@ -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") }}
|
||||||
|
|
Reference in New Issue
Block a user