ESPresence, OBK, and other updates

This commit is contained in:
root
2023-10-20 13:27:48 +13:00
parent 0c38ec96f0
commit 910a908880
26 changed files with 1112 additions and 42 deletions

View File

@@ -0,0 +1,65 @@
- alias: "Two Way Lights - Garage Corridor - 1"
trigger:
- platform: state
entity_id: switch.obk_garageswitch_1_e6f7_1
action:
- choose:
- conditions:
- condition: state
entity_id: switch.obk_garageswitch_1_e6f7_1
state: "on"
sequence:
- service: switch.turn_on
entity_id: switch.tasmo_ks811d_5613_lounge_4b
default:
- service: switch.turn_off
entity_id: switch.tasmo_ks811d_5613_lounge_4b
- alias: "Two Way Lights - Garage Corridor - 2"
trigger:
- platform: state
entity_id: switch.tasmo_ks811d_5613_lounge_4b
action:
- choose:
- conditions:
- condition: state
entity_id: switch.tasmo_ks811d_5613_lounge_4b
state: "on"
sequence:
- service: switch.turn_on
entity_id: switch.obk_garageswitch_1_e6f7_1
default:
- service: switch.turn_off
entity_id: switch.obk_garageswitch_1_e6f7_1
- alias: "Two Way Lights - Garage Main - 1"
trigger:
- platform: state
entity_id: switch.obk_garageswitch_1_e6f7_2
action:
- choose:
- conditions:
- condition: state
entity_id: switch.obk_garageswitch_1_e6f7_2
state: "on"
sequence:
- service: switch.turn_on
entity_id: switch.tasmo_sbas_0407_garagelight
default:
- service: switch.turn_off
entity_id: switch.tasmo_sbas_0407_garagelight
- alias: "Two Way Lights - Garage Main - 2"
trigger:
- platform: state
entity_id: switch.tasmo_sbas_0407_garagelight
action:
- choose:
- conditions:
- condition: state
entity_id: switch.tasmo_sbas_0407_garagelight
state: "on"
sequence:
- service: switch.turn_on
entity_id: switch.obk_garageswitch_1_e6f7_2
default:
- service: switch.turn_off
entity_id: switch.obk_garageswitch_1_e6f7_2