automation: - alias: Lighting · Hallway · Motion On trigger: platform: state entity_id: group.hallway_motion to: "on" condition: condition: state entity_id: binary_sensor.georgi_home state: "on" action: - choose: # Day Mode - conditions: - condition: state entity_id: input_select.house_mode state: 'day' sequence: - service: light.turn_on entity_id: - light.hallway - light.browser_hallway data: brightness_pct: 100 # Night Mode default: - service: light.turn_on entity_id: - light.hue_white_1 - light.hue_1 - light.browser_hallway data: brightness_pct: 1 - alias: Lighting · Hallway · Motion Off trigger: platform: state entity_id: group.hallway_motion to: "off" action: - choose: # Day Mode - conditions: condition: state entity_id: input_select.house_mode state: 'day' sequence: - service: light.turn_off entity_id: light.hallway - service: light.turn_on entity_id: light.browser_hallway data: brightness_pct: 1 # Night Mode default: - service: light.turn_off entity_id: - light.hue_white_1 - light.hue_1 - service: light.turn_on entity_id: light.browser_hallway data: brightness_pct: 1