File this under “This used to work I swear”. I’ve got a lovelace representation of a door lock status showing the dreaded “broken link” icon. At first I thought it was looking for the icon itself, but it looks like the entity isn’t showing up from my sensors.yaml file. Here’s a snippet from the sensors.yaml file:
- platform: template
sensors:
# Front Door Lock (For UI State Display Purposes)
front_lock_status:
entity_id: input_boolean.front_lock
friendly_name: "Front Lock Status"
value_template: >-
{% if is_state('input_boolean.front_lock', 'on') %}
Unlocked
{% else %}
Locked
{% endif %}
icon_template: >-
{% if is_state('input_boolean.front_lock', 'on') %}
mdi:lock-open
{% else %}
mdi:lock
{% endif %}
None of the sensors that follow the “- platform: template” section show up as entities for me in Developer Tools like they used to. The referenced input_booleans DO show up. The next section of the file has command_line, systemmonitor, version, rest. All of those are working. Just the template stuff isn’t. And I’ve got no errors in the log that I can see. I’m stumped but also really rusty here. It used to work so I suspect there was a breaking change I missed.