mirror of
https://github.com/CCOSTAN/Home-AssistantConfig.git
synced 2025-08-17 10:57:03 +00:00
Switches, Switches, Siwtiches.. Bitches.
This commit is contained in:
@@ -57,6 +57,7 @@ Software on the Pi : [Home Assistant](https://home-assistant.io/) , [Dasher](htt
|
||||
|
||||
#Todo List
|
||||
|
||||
* Create IMAGE clone of the SD Card for Backup purposes. [This](https://community.home-assistant.io/t/no-more-reinstalling-your-ha-from-scratch-how-to/7630)
|
||||
* AutoIt script to control lights via REST and also auto light office when I am working on Laptop.
|
||||
* Configure the Alexa Component.
|
||||
* Put Dash Buttons out there.
|
||||
|
@@ -42,6 +42,23 @@ switch.living_room_outlet:
|
||||
icon: mdi:power-plug
|
||||
assumed_state: true
|
||||
|
||||
switch.Outlet_304_1:
|
||||
friendly_name: 'Outlet_304_1'
|
||||
icon: mdi:power-plug
|
||||
assumed_state: true
|
||||
|
||||
switch.Outlet_304_2:
|
||||
friendly_name: 'Outlet_304_2'
|
||||
icon: mdi:power-plug
|
||||
assumed_state: true
|
||||
|
||||
switch.Outlet_304_3:
|
||||
friendly_name: 'Outlet_304_3'
|
||||
icon: mdi:power-plug
|
||||
assumed_state: true
|
||||
|
||||
switch.Outlet_304_4:
|
||||
friendly_name: 'Outlet_304_4'
|
||||
icon: mdi:power-plug
|
||||
assumed_state: true
|
||||
|
@@ -5,13 +5,11 @@
|
||||
# - service: script.reliability
|
||||
######################################################################################################
|
||||
|
||||
{% macro swTest(onoff='') %}
|
||||
- service: switch.turn_{{ states(onoff) }}
|
||||
entity_id: {{ onoff }}
|
||||
{% endmacro %}
|
||||
{% macro swTest(onoff='') %} - service: switch.turn_{{ states(onoff) }}
|
||||
entity_id: {{ onoff }}{% endmacro %}
|
||||
|
||||
switch_check:
|
||||
sequence:
|
||||
sequence:
|
||||
{{ swTest("switch.foyer_outlet") }}
|
||||
{{ swTest("switch.printer_outlet") }}
|
||||
{{ swTest("switch.garage_outlet") }}
|
@@ -27,4 +27,9 @@ interior_off:
|
||||
- delay: '00:01:00'
|
||||
- service: switch.turn_off
|
||||
entity_id: switch.living_room_amp
|
||||
- delay: '00:01:00'
|
||||
- service: switch.turn_off
|
||||
entity_id: switch.dining_room_outlet
|
||||
|
||||
|
||||
|
@@ -20,7 +20,7 @@
|
||||
code_off: 5265164
|
||||
|
||||
# Outlet 1412_2
|
||||
Outlet_Den:
|
||||
Den_Outlet:
|
||||
protocol: 1
|
||||
pulselength: 186
|
||||
code_on: 5264835
|
||||
@@ -55,7 +55,7 @@
|
||||
code_off: 284428
|
||||
|
||||
# Outlet 311_4
|
||||
Outlet_Living_Room:
|
||||
Living_Room_Outlet:
|
||||
protocol: 1
|
||||
pulselength: 186
|
||||
code_on: 285955
|
||||
@@ -82,8 +82,8 @@
|
||||
code_on: 5330691
|
||||
code_off: 5330700
|
||||
|
||||
# Outlet_Dining_Room
|
||||
Outlet_304_4:
|
||||
# Outlet_304_4
|
||||
Dining_Room_Outlet:
|
||||
protocol: 1
|
||||
pulselength: 186
|
||||
code_on: 5332227
|
||||
|
Reference in New Issue
Block a user