- alias: Announce Someone Is At The Front Door triggers: - trigger: state entity_id: binary_sensor.aarlo_ding_front_doorbell from: 'off' to: 'on' actions: - action: notify.google_assistant_sdk data: message: Someone is at the front door - alias: Announce Front Door Open triggers: - trigger: state entity_id: binary_sensor.front_door from: 'off' to: 'on' for: 00:00:01 actions: - action: notify.google_assistant_sdk data: message: Front door is open mode: single - alias: Announce Garage Door Open triggers: - trigger: state entity_id: binary_sensor.garage_door from: 'off' to: 'on' for: 00:00:01 actions: - action: notify.google_assistant_sdk data: message: Garage door is open mode: single - alias: Announce Garage Hallway Door Open triggers: - trigger: state entity_id: binary_sensor.garage_hallway_door_opening from: 'off' to: 'on' for: 00:00:01 actions: - action: notify.google_assistant_sdk data: message: Garage hallway door is open mode: single - alias: Announce Bedroom Door Open triggers: - trigger: state entity_id: binary_sensor.bedroom_door from: 'off' to: 'on' for: 00:00:01 actions: - action: notify.google_assistant_sdk data: message: Bedroom door is open mode: single - alias: Announce Launry Room Door Open triggers: - trigger: state entity_id: binary_sensor.laundry_room_door from: 'off' to: 'on' for: 00:00:01 actions: - action: notify.google_assistant_sdk data: message: Laundry room door is open mode: single - alias: Door Alarm When Away triggers: - trigger: state entity_id: binary_sensor.front_door to: 'on' - trigger: state entity_id: binary_sensor.laundry_room_door to: 'on' - trigger: state entity_id: binary_sensor.office_door to: 'on' - trigger: state entity_id: binary_sensor.garage_door condition: condition: state entity_id: input_select.house_state state: away actions: - action: aarlo.sirens_on data: volume: 10 duration: 300 - action: alarm_control_panel.alarm_triggers entity_id: alarm_control_panel.aarlo_annacar_arlo - action: notify.all_personal_devices data: message: Someone Is Breaking In! mode: single - alias: Notify Someone Is At The Front Door triggers: - trigger: state entity_id: binary_sensor.aarlo_ding_front_doorbell from: 'off' to: 'on' actions: - action: notify.all_personal_devices data: message: Someone is at the front door! - alias: Notify Front Door Open triggers: - trigger: state entity_id: binary_sensor.front_door from: 'off' to: 'on' for: 00:00:01 actions: - action: notify.all_personal_devices data: message: Front door is open! mode: single - alias: Notify Garage Door Open triggers: - trigger: state entity_id: binary_sensor.garage_door from: 'off' to: 'on' for: 00:00:01 actions: - action: notify.all_personal_devices data: message: Garage door is open! mode: single - alias: Notify Garage Hallway Door Open triggers: - trigger: state entity_id: binary_sensor.garage_hallway_door_opening from: 'off' to: 'on' for: 00:00:01 actions: - action: notify.all_personal_devices data: message: Garage door is open! mode: single - alias: Notify Bedroom Door Open triggers: - trigger: state entity_id: binary_sensor.bedroom_door from: 'off' to: 'on' for: 00:00:01 actions: - action: notify.all_personal_devices data: message: Bedroom door is open! mode: single - alias: Notify Launry Room Door Open triggers: - trigger: state entity_id: binary_sensor.laundry_room_door from: 'off' to: 'on' for: 00:00:01 actions: - action: notify.all_personal_devices data: message: Laundry room door is open! mode: single - alias: Back Driveway Motion triggers: - trigger: state entity_id: binary_sensor.aarlo_motion_back_driveway from: 'off' to: 'on' actions: - action: switch.turn_on entity_id: switch.back_driveway_floodlight condition: alias: Sun down condition: state entity_id: sun.sun state: below_horizon - alias: Back Driveway Idle triggers: - trigger: state entity_id: binary_sensor.aarlo_motion_back_driveway to: 'off' for: 00:10:00 actions: - action: switch.turn_off entity_id: switch.back_driveway_floodlight - alias: Bedroom Bathroom Occupied triggers: - trigger: state entity_id: binary_sensor.bedroom_bathroom_occupancy from: 'off' to: 'on' actions: - action: light.turn_on entity_id: light.bedroom_bathroom_vanity - alias: Bedroom Bathroom Vacant triggers: - trigger: state entity_id: binary_sensor.bedroom_bathroom_occupancy to: 'off' for: 00:30:00 actions: - action: light.turn_off entity_id: light.bedroom_bathroom_vanity - alias: Bedroom Controller triggers: - trigger: event event_type: zha_event event_data: device_id: 38823d2ac8278565d4e1a71abe5eb7b1 actions: - variables: command: '{{ trigger.event.data.command }}' - choose: - conditions: - '{{ command == ''on_short_release'' }}' sequence: - action: light.toggle entity_id: light.bedroom_ceiling - conditions: - '{{ command == ''up_short_release'' }}' sequence: - action: light.toggle entity_id: light.bedroom_bedside_lamps - conditions: - '{{ command == ''down_short_release'' }}' sequence: - action: switch.toggle entity_id: switch.bedroom_floor_lamp - conditions: - '{{ command == ''off_short_release'' }}' sequence: - action: light.toggle entity_id: light.nursery_lights mode: queued max_exceeded: silent - alias: Breezeway Motion triggers: - trigger: state entity_id: binary_sensor.aarlo_motion_breezeway from: 'off' to: 'on' actions: - action: light.turn_on entity_id: light.breezeway_doors condition: alias: Sun down condition: state entity_id: sun.sun state: below_horizon mode: single - alias: Breezeway Idle triggers: - trigger: state entity_id: binary_sensor.aarlo_motion_breezeway to: 'off' for: 00:10:00 actions: - action: light.turn_off entity_id: light.breezeway_doors mode: single - alias: Laundry Room Door Open triggers: - trigger: state entity_id: binary_sensor.laundry_room_door from: 'off' to: 'on' actions: - action: light.turn_on entity_id: light.breezeway_doors - action: switch.turn_on entity_id: switch.back_driveway_floodlight condition: alias: Sun down condition: state entity_id: sun.sun state: below_horizon mode: single - alias: Laundry Room Door Closed triggers: - trigger: state entity_id: binary_sensor.laundry_room_door from: 'on' to: 'off' for: 00:10:00 actions: - action: light.turn_off entity_id: light.breezeway_doors condition: alias: Sun down condition: state entity_id: sun.sun state: below_horizon mode: single - alias: Front Door Open triggers: - trigger: state entity_id: binary_sensor.front_door from: 'off' to: 'on' actions: - action: light.turn_on entity_id: light.front_door_lights mode: single - alias: Front Door Closed triggers: - trigger: state entity_id: binary_sensor.front_door to: 'off' for: 00:01:00 actions: - action: light.turn_off entity_id: light.front_door_lights mode: single - alias: Garage Bay 1 Tag triggers: - trigger: tag tag_id: 37c4b309-04f1-4de9-9126-6fe4f9e23cea condition: [] actions: - action: cover.toggle target: device_id: 281b61168c1b255d2acd52d7615b7380 mode: single - alias: Garage Bay 2 Tag triggers: - trigger: tag tag_id: c52753d9-930d-4660-b030-465db0708ebd condition: [] actions: - action: cover.toggle target: device_id: 7b26ea48f9160f57818c8dcfe7aecb56 mode: single - alias: Garage Hallway Door Open triggers: - trigger: state entity_id: binary_sensor.garage_hallway_door_opening from: 'off' to: 'on' for: 00:00:01 actions: - action: light.turn_on entity_id: light.garage_lights mode: single - alias: Garage Hallway Motion triggers: - trigger: state entity_id: binary_sensor.garage_hallway_motion from: 'off' to: 'on' actions: - action: light.turn_on entity_id: light.garage_hallway - alias: Garage Hallyway Idle triggers: - trigger: state entity_id: binary_sensor.garage_hallway_motion to: 'off' for: 00:2:00 actions: - action: light.turn_off entity_id: light.garage_hallway - alias: Garage Occupied triggers: - trigger: state entity_id: binary_sensor.garage_occupancy from: 'off' to: 'on' actions: - action: light.turn_on entity_id: light.garage_lights - alias: Garage Vacant triggers: - trigger: state entity_id: binary_sensor.garage_occupancy to: 'off' for: 00:15:00 actions: - action: light.turn_off entity_id: light.garage_lights - alias: Sun Rise triggers: trigger: sun event: sunrise offset: +00:00:00 actions: - action: switch.turn_off entity_id: switch.front_porch - action: switch.turn_off entity_id: switch.front_driveway_lights - action: switch.turn_off entity_id: switch.front_porch_strips_power_switch - alias: Sun Set triggers: trigger: sun event: sunset offset: +00:00:00 actions: - action: switch.turn_on entity_id: switch.front_porch - action: switch.turn_on entity_id: switch.front_driveway_lights - action: switch.turn_on entity_id: switch.front_porch_strips_power_switch - alias: Arm Away triggers: trigger: state entity_id: group.family_tracker from: home to: not_home for: seconds: 60 condition: [] actions: - action: alarm_control_panel.alarm_arm_away entity_id: alarm_control_panel.aarlo_annacar_arlo - action: notify.all_personal_devices data: message: Everyone has left. Activating Away Mode. - action: scene.turn_on entity_id: scene.away mode: single - alias: Arm Home triggers: trigger: state entity_id: group.family_tracker from: not_home to: home for: seconds: 10 condition: [] actions: - action: alarm_control_panel.alarm_arm_home entity_id: alarm_control_panel.aarlo_annacar_arlo - action: notify.all_personal_devices data: message: Arriving Home - action: scene.turn_on entity_id: scene.arriving_home mode: single - alias: Front Door Is Tagged triggers: - trigger: tag tag_id: f849630c-64f4-4f6a-ba15-9e4fb22c411a condition: [] actions: - choose: - conditions: - condition: state entity_id: lock.front_door_lock state: locked sequence: - action: lock.unlock entity_id: lock.front_door_lock - conditions: - condition: state entity_id: lock.front_door_lock state: unlocked sequence: - action: lock.lock entity_id: lock.front_door_lock mode: single - alias: Lock Doors triggers: - trigger: state entity_id: input_select.house_state to: away - trigger: state entity_id: input_select.house_state to: night condition: [] actions: - action: script.lock_doors - alias: Plex Play triggers: - trigger: state entity_id: media_player.living_room_plex from: idle to: playing - trigger: state entity_id: media_player.living_room_plex from: paused to: playing - trigger: state entity_id: media_player.plex_infuse_living_room from: idle to: playing - trigger: state entity_id: media_player.plex_infuse_living_room from: paused to: playing condition: [] actions: - action: scene.turn_on entity_id: scene.movie_time mode: single - alias: Plex Paused triggers: - trigger: state entity_id: media_player.living_room_plex from: playing to: paused - trigger: state entity_id: media_player.plex_infuse_living_room from: playing to: paused condition: [] actions: - action: scene.turn_on entity_id: scene.movie_time_paused mode: single - alias: Kitchen Controller mode: queued max_exceeded: silent triggers: - trigger: event event_type: zha_event event_data: device_id: 03f2a8fc68acb2cc66e1f44da37c3515 actions: - variables: command: '{{ triggers.event.data.command }}' - choose: - conditions: - '{{ command == ''on'' }}' sequence: - action: light.toggle entity_id: light.kitchen_lights - conditions: - '{{ command == ''off'' }}' sequence: - action: light.toggle entity_id: light.dining_room_lights - alias: Office Carson Mac Screen On triggers: - trigger: state entity_id: sensor.carson_mac_screen_off from: 'True' to: 'False' actions: - action: switch.turn_on entity_id: switch.office_studio_monitors mode: single - alias: Office Carson Mac Screen Off triggers: - trigger: state entity_id: sensor.carson_mac_screen_off from: 'False' to: 'True' for: 00:30:00 actions: - action: switch.turn_off entity_id: switch.office_studio_monitors mode: single - alias: Office Carson Mac Webcam On triggers: - trigger: state entity_id: binary_sensor.carson_mac_camera_in_use to: 'on' actions: - action: input_select.select_option data: option: meeting target: entity_id: input_select.office_state mode: queued - alias: Office Carson Mac Webcam Off triggers: - trigger: state entity_id: binary_sensor.carson_mac_camera_in_use from: 'on' to: 'off' actions: - action: input_select.select_option data: option: normal target: entity_id: input_select.office_state mode: queued - alias: Office Occupied triggers: - trigger: state entity_id: binary_sensor.office_motion_sensor_occupancy to: 'on' actions: - action: scene.turn_on entity_id: scene.office_active_day - alias: Office Vacant triggers: - trigger: state entity_id: binary_sensor.office_motion_sensor_occupancy to: 'off' for: 01:00:00 actions: - action: scene.turn_on entity_id: scene.office_inactive - alias: Office Bathroom Occupied triggers: - trigger: state entity_id: binary_sensor.office_bathroom_occupancy from: 'off' to: 'on' actions: - action: light.turn_on entity_id: light.office_bathroom - alias: Office Bathroom Vacant triggers: - trigger: state entity_id: binary_sensor.office_bathroom_occupancy to: 'off' for: 00:15:00 actions: - action: light.turn_off entity_id: light.office_bathroom - alias: Office Stairs Motion triggers: - trigger: state entity_id: binary_sensor.office_stairs_motion from: 'off' to: 'on' actions: - choose: - conditions: - condition: template value_template: '{{ is_state(''input_select.office_state'', ''meeting'') }}' sequence: - action: light.turn_on data: brightness: 255 rgb_color: - 255 - 0 - 0 entity_id: light.office_stairs - conditions: - condition: template value_template: '{{ is_state(''input_select.office_state'', ''normal'') }}' sequence: - action: light.turn_on data: brightness: 255 rgb_color: - 255 - 255 - 255 entity_id: light.office_stairs default: - action: light.turn_on data: brightness: 255 rgb_color: - 255 - 255 - 255 entity_id: light.office_stairs - alias: Office Stairs Idle triggers: - trigger: state entity_id: binary_sensor.office_stairs_motion to: 'off' for: 00:2:00 actions: - action: light.turn_off entity_id: light.office_stairs