Updated: Oct 20, 2023β€”2 min read

Level Up your Presence Detection in Home Assistant

Written by: Fixt

Manage People in HA

Open your Home Assistant instance and show your people.

Import Blueprint

  • philhawthorne's Original article here
  • This blueprint will allow you to use an input_select to get 5 presence states:
    • Home
    • Just Left
    • Away
    • Extended Away
    • Just Arrived
  • cliffordw.hansen's Original blueprint:

Device Tracker Blueprint

Open your Home Assistant instance and show the blueprint import dialog with a specific blueprint pre-filled.

Person Blueprint

Open your Home Assistant instance and show the blueprint import dialog with a specific blueprint pre-filled.

Create input_select

Open your Home Assistant instance and show your helper entities.

config/configuration.yaml

input_select:
  fixt_status_dropdown:
    name: Fixt Status Dropdown
    options:
      - Home
      - Just Arrived
      - Just Left
      - Away
      - Extended Away
    initial: Home

How the new statuses work

Automation Examples

config/automations.yaml

alias: Better AutoPlay Playlist
description: ""
trigger:
  - platform: state
    entity_id:
      - input_select.fixt_status_dropdow
    from: Away
    to: Just Arrived
condition: []
action:
  - service: media_player.select_source
    data:
      source: kitchen
    target:
      entity_id: media_player.ytube_music_player
  - service: media_player.play_media
    data:
      media_content_id: RDCLAK5uy_mplKe9BIYCO3ZuNWSHZr48bm9DUDzbWnE
      media_content_type: playlist
    target:
      entity_id: media_player.ytube_music_player
mode: single

I would love to hear your comments, or suggestions on this post.


Avatar of Fixt

Fixt is a Software Engineer passionate about making the world a better place through technology and automation.