I’m trying to configure a presence widget using the widget type device_tracker. My location information is coming from the HASS iOS app, which adds the appropriate entry into known_devices.yaml:
brian:
hide_if_away: false
name: Brian
track: true
However, when I configure the widget like so:
brian_presence:
title: Brian
widget_type: device_tracker
device: brian
icon_on: fa-male
icon_off: fa-male
icon_style_active: "color: blue"
widget_style: "font-size 125%"
I get an error on the dashboard: entity not found: device_tracker.brian
Am I missing something in my configuration here?
I’m running on a Pi 3 using hass.io, and do not have device_tracker defined anywhere in my configuration.yaml, per the iOS instructions for HASS here.
try to create a dashboard with a sensor widget with entity: device_tracker.brian and see if that works.
and please show your entire dashboard so we can figure it out.
you do have it in your configuration from HA, but the device_tracker.brian doesnt seem to exist.
in the home assistant frontend you have developertools.
there is a states button there, look if you can find the device there and what its called.
only the entities that are shown in the list “current entities” can be used in the dashboard.
if i am correct then you need a macaddress for each device. so allthough you have that in your known devices, it still doesnt exist in HA.
Ok, I found my problem, which came to light after restarting my Pi. Since I installed and began configuring everything, I’ve updated to use SSL. However, I never changed my AppDaemon config to use https instead of http. Updated that, and now it shows everything properly.