diff --git a/README.md b/README.md index 7e200740..880d94ec 100755 --- a/README.md +++ b/README.md @@ -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 diff --git a/automation/sunrise_turnon_and_off.yaml b/automation/sunrise_turnon_and_off.yaml index f504d0e6..d6ea674f 100755 --- a/automation/sunrise_turnon_and_off.yaml +++ b/automation/sunrise_turnon_and_off.yaml @@ -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 diff --git a/customize/switches.yaml b/customize/switches.yaml index cc466a32..2524b9ee 100755 --- a/customize/switches.yaml +++ b/customize/switches.yaml @@ -16,6 +16,11 @@ switch.den_outlet: friendly_name: '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' diff --git a/script/Reliability.yaml.Broken b/script/Reliability.yaml.Broken index a2bfa55f..c9c16b5f 100755 --- a/script/Reliability.yaml.Broken +++ b/script/Reliability.yaml.Broken @@ -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: diff --git a/script/switch_turn_off.yaml b/script/switch_turn_off.yaml index 7c820c16..ac75a2b2 100755 --- a/script/switch_turn_off.yaml +++ b/script/switch_turn_off.yaml @@ -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 - \ No newline at end of file + entity_id: switch.dining_room_outlet + - delay: '00:01:00' + - service: switch.turn_off + entity_id: switch.living_room_amp \ No newline at end of file