- id: "Two_Way_Lights_-_Garage_Corridor_-_1" alias: "Two Way Lights - Garage Corridor - 1" trigger: - platform: state entity_id: switch.garage_entry_switch_1 action: - choose: - conditions: - condition: state entity_id: switch.garage_entry_switch_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 - 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 action: - choose: - conditions: - condition: state entity_id: switch.tasmo_ks811d_5613_lounge_4b state: "on" sequence: - service: switch.turn_on entity_id: switch.garage_entry_switch_1 default: - service: switch.turn_off entity_id: switch.garage_entry_switch_1 - id: "Two_Way_Lights_-_Garage_Main_-_1" alias: "Two Way Lights - Garage Main - 1" trigger: - platform: state entity_id: switch.garage_entry_switch_3 action: - choose: - conditions: - condition: state entity_id: switch.garage_entry_switch_3 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 - id: "Two_Way_Lights_-_Garage_Main_-_2" 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.garage_entry_switch_3 default: - service: switch.turn_off entity_id: switch.garage_entry_switch_3