fixtSE
FixtSEFixtSE
Blog
Membership
Shop
Booking
About
Blog
Membership
Shop
Booking
About

Youtube
Instagram
RSS
Github
Patreon
Privacy
Fixtโ€ขยฉ 2025
Published: Nov 11, 2023โ€”2 min read

Ultimate Presence Detection Sensor for Your Dashboard

Written by: Fixt

If you're subscribed to our Channel
Login with your Google account to get our Smart Tutorial Experience!

TABLE OF CONTENTS
PrerequisitesSensor TemplateUse it in your DashboardMushroom Template CardCreate Zones

Featured

Using DeepSeek R1 to Control Home AssistantUsing DeepSeek R1 to Control Home Assistant
ESPresense v3 - Room level presence detection with ESP32 and Home AssistantESPresense v3 - Room level presence detection with ESP32 and Home Assistant

Related

Tags

Blueprint
Home-Assistant
Dashboard
Presence-Detection
Tutorial

If you like my work, please consider supporting me on Ko-fi! โ˜•๐ŸŽ‰

โ† Back to the blog
Ultimate Presence Dectection Sensor Image

Prerequisites
#

Level Up Presence Detection Tutorial
Espresense Tutorial
Espresense Music Follow Tutorial

Sensor Template
#

config/configuration.yaml

sensor:
  - platform: template
    sensors:
      person_status:
        value_template: >
          {% set person = 'person.name' %}
          {% set status_dropdown = 'input_select.person_status_dropdown' %}
          {% set status_ble = 'input_select.person_ble_dropdown' %}
          {% if (is_state(person, 'not_home') and is_state(status_ble, 'Away')) or is_state(status_dropdown, 'Just Arrived') %}
            {{ states(status_dropdown) }}
          {% elif is_state(status_ble, 'Away') %}
            {% if is_state(person, 'home') %}
              Home
            {% else %}
              {{ states(person) }}
            {% endif %}
          {% else %} 
            {{ states(status_ble) }}
          {% endif %}
        entity_picture_template: /local/image.jpg
        friendly_name: 'Name'

Use it in your Dashboard
#

Mushroom Card By Paul Bottein
Open your Home Assistant instance and open a repository inside the Home Assistant Community Store.

Mushroom Template Card
#

Primary Information

{{states.sensor.person_status.name}}

Secondary Information

{{states.sensor.person_status.state}}

Badge Icon

{% if is_state('person.name', 'home') %}
  mdi:home 
{% endif %}

Create Zones
#

Open your Home Assistant instance and show your zones.

Tags

Blueprint
Home-Assistant
Dashboard
Presence-Detection
Tutorial
โ† Back to the blog

Featured

Using DeepSeek R1 to Control Home AssistantUsing DeepSeek R1 to Control Home Assistant
ESPresense v3 - Room level presence detection with ESP32 and Home AssistantESPresense v3 - Room level presence detection with ESP32 and Home Assistant

Related

Tags

Blueprint
Home-Assistant
Dashboard
Presence-Detection
Tutorial