mirror of
https://github.com/CCOSTAN/Home-AssistantConfig.git
synced 2025-08-17 10:57:03 +00:00
More switches Bitches.
This commit is contained in:
@@ -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
|
||||
|
@@ -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
|
||||
|
@@ -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
|
||||
|
@@ -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:
|
||||
|
@@ -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
|
||||
|
Reference in New Issue
Block a user