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

@@ -87,6 +87,8 @@ https://community.home-assistant.io/t/snmp-bandwidth-monitor/7122
https://i.imgur.com/xy10yI1.png
resource for my RF switches. (MQTT) bit.ly/2gBiOqz
#Lab notes:
```yaml

View File

@@ -18,6 +18,9 @@
- service: switch.turn_on
entity_id: switch.living_room_outlet
- delay: '00:00:30'
- service: switch.turn_on
entity_id: switch.dining_room_outlet
- delay: '00:00:30'
- service: switch.turn_on
entity_id: switch.foyer_outlet
- service: light.turn_on

View File

@@ -17,6 +17,11 @@ switch.den_outlet:
icon: mdi:power-plug
assumed_state: true
switch.dining_room_outlet:
friendly_name: 'Dining Room Outlet'
icon: mdi:power-plug
assumed_state: true
switch.Foyer_Outlet:
friendly_name: 'Foyer Outlet'
icon: mdi:power-plug

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
@@ -46,6 +49,8 @@ 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