# # # Presence Automations # # ##################### - alias: Family Has arrived trigger: - entity_id: sensor.family_status from: away platform: state to: home action: - service: script.standby - service: script.driveway_on - service: script.vacation_canceled - service: script.washer_finished_notification - service: script.appliances_on - alias: Family Has Left trigger: - entity_id: sensor.family_status from: home platform: state to: away condition: - condition: state entity_id: input_boolean.guest_mode state: 'off' action: - service: script.close_garage - service: script.lockdown - service: script.appliances_off - alias: Family Devices Have arrived trigger: - entity_id: group.family from: not_home platform: state to: home condition: - condition: state entity_id: sensor.family_presence state: 'away' action: - service: script.family_is_home # - alias: Jeff Arrives Home # trigger: # # - entity_id: device_tracker.owntracks_jeffreystonesiphone # # event: enter # # platform: zone # # zone: zone.home # - entity_id: sensor.jeff_presence # from: 'not present' # platform: state # to: 'present' # action: # - service: script.jeff_destination_arrived # - service: script.driveway_on # - service: input_boolean.turn_off # entity_id: input_boolean.jeff_heading_home - alias: Jeff Arrives At Summit trigger: - entity_id: device_tracker.jeffrey_377fadfe9d7e410fb71bd84c06547c00 event: enter platform: zone zone: zone.summit action: - service: script.jeff_destination_na - service: script.jeff_at_work_notification - service: input_boolean.turn_off entity_id: input_boolean.jeff_traffic_alert_home - alias: Jeff Leaves Summit trigger: - entity_id: device_tracker.jeffrey_377fadfe9d7e410fb71bd84c06547c00 event: leave platform: zone zone: zone.summit action: - service: input_boolean.turn_off entity_id: input_boolean.jeff_traffic_alert_home - alias: Kat Arrives Home Notification trigger: - entity_id: device_tracker.kat_2f1c672110dd491ea7dca9833d1c6cf5 event: enter platform: zone zone: zone.home action: #- service: script.kat_is_home_audible - service: input_boolean.turn_off entity_id: input_boolean.kat_heading_home - service: script.driveway_on - alias: Kat Arrives Zoo Notification trigger: - platform: zone event: enter zone: zone.zoo_atlanta entity_id: device_tracker.kat_2f1c672110dd491ea7dca9833d1c6cf5 condition: - condition: state entity_id: input_boolean.text_notify_jeff state: 'on' action: - service: notify.ios_jeffreystonesiphone data: message: Kat is at Zoo Atlanta - alias: Kat Leaves Zoo Notification trigger: - platform: zone event: leave zone: zone.zoo_atlanta entity_id: device_tracker.kat_2f1c672110dd491ea7dca9833d1c6cf5 condition: - condition: state entity_id: input_boolean.text_notify_jeff state: 'on' action: - service: input_boolean.turn_on entity_id: input_boolean.kat_heading_home