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

Youtube
Instagram
RSS
Github
Patreon
Privacy
Fixtâ€ĸŠ 2026
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

New Microsoft 365 integrations for Home AssistantNew Microsoft 365 integrations for Home Assistant
Sonoff Dongle-Max and Dongle Plus MG24 Zigbee 3.0 USB Adapter Review & SetupSonoff Dongle-Max and Dongle Plus MG24 Zigbee 3.0 USB Adapter Review & Setup

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

New Microsoft 365 integrations for Home AssistantNew Microsoft 365 integrations for Home Assistant
Sonoff Dongle-Max and Dongle Plus MG24 Zigbee 3.0 USB Adapter Review & SetupSonoff Dongle-Max and Dongle Plus MG24 Zigbee 3.0 USB Adapter Review & Setup

Related

Tags

Blueprint
Home-Assistant
Dashboard
Presence-Detection
Tutorial