ESPresence, OBK, and other updates

This commit is contained in:
root
2023-10-20 13:30:32 +13:00
parent 910a908880
commit 9c9502685f
6 changed files with 146 additions and 46 deletions

View File

@@ -1,12 +1,13 @@
- alias: "Two Way Lights - Garage Corridor - 1"
- id: "Two_Way_Lights_-_Garage_Corridor_-_1"
alias: "Two Way Lights - Garage Corridor - 1"
trigger:
- platform: state
entity_id: switch.obk_garageswitch_1_e6f7_1
entity_id: switch.garage_entry_switch_1
action:
- choose:
- conditions:
- condition: state
entity_id: switch.obk_garageswitch_1_e6f7_1
entity_id: switch.garage_entry_switch_1
state: "on"
sequence:
- service: switch.turn_on
@@ -14,7 +15,8 @@
default:
- service: switch.turn_off
entity_id: switch.tasmo_ks811d_5613_lounge_4b
- alias: "Two Way Lights - Garage Corridor - 2"
- id: "Two_Way_Lights_-_Garage_Corridor_-_2"
alias: "Two Way Lights - Garage Corridor - 2"
trigger:
- platform: state
entity_id: switch.tasmo_ks811d_5613_lounge_4b
@@ -26,20 +28,21 @@
state: "on"
sequence:
- service: switch.turn_on
entity_id: switch.obk_garageswitch_1_e6f7_1
entity_id: switch.garage_entry_switch_1
default:
- service: switch.turn_off
entity_id: switch.obk_garageswitch_1_e6f7_1
entity_id: switch.garage_entry_switch_1
- alias: "Two Way Lights - Garage Main - 1"
- id: "Two_Way_Lights_-_Garage_Main_-_1"
alias: "Two Way Lights - Garage Main - 1"
trigger:
- platform: state
entity_id: switch.obk_garageswitch_1_e6f7_2
entity_id: switch.garage_entry_switch_3
action:
- choose:
- conditions:
- condition: state
entity_id: switch.obk_garageswitch_1_e6f7_2
entity_id: switch.garage_entry_switch_3
state: "on"
sequence:
- service: switch.turn_on
@@ -47,7 +50,8 @@
default:
- service: switch.turn_off
entity_id: switch.tasmo_sbas_0407_garagelight
- alias: "Two Way Lights - Garage Main - 2"
- id: "Two_Way_Lights_-_Garage_Main_-_2"
alias: "Two Way Lights - Garage Main - 2"
trigger:
- platform: state
entity_id: switch.tasmo_sbas_0407_garagelight
@@ -59,7 +63,7 @@
state: "on"
sequence:
- service: switch.turn_on
entity_id: switch.obk_garageswitch_1_e6f7_2
entity_id: switch.garage_entry_switch_3
default:
- service: switch.turn_off
entity_id: switch.obk_garageswitch_1_e6f7_2
entity_id: switch.garage_entry_switch_3