Hopefully someone can help me with the following warning. I changed an entity name and all the automations and dashboards that relate to it yet I am still getting an error related to the old entity name.
Logger: homeassistant.helpers.template
Source: helpers/template.py:1291
First occurred: 11:33:59 (5 occurrences)
Last logged: 13:06:08
Template warning: 'float' got invalid input 'unknown' when rendering template '{{ states("sensor.bathroom_weather_humidity") | float / 100.0 }}' but no default was specified. Currently 'float' will return '0', however this template will fail to render in Home Assistant core 2022.1
Running HAOS in a Pi4
Core: 12.9
Supervisor:12.2
OS Home Assistant OS 7.1
Is there a way to track down what is still referencing the old entity name?
hello i think your sensor isn’t named corectly because 0/100 = 0
try your entity in developper tool, it should give you something else than 0
{{ states(‘sensor.bathroom_weather_humidity’) }}
if = 0 then check your entity state and why it’s 0 and if it’s the good entity
The entity used to be named “sensor.bathroom_weather_humidity” but was changed to “sensor.bathroom_humidity”. Like I said, I changed all the references I could find so they refer to the new name and not the old name. However, somethings is still referencing the old name. Any way to find out what is still referencing the old name (sensor.bathroom_weather_humidity)?
Thanks for the help. that entity id was not found in any config files.
Issues got worse with HA core locking up after about a day running. I could still ping the pi but no response to anything else. I have restored to a backup prior to making any entity name or id changes and will see how things go for a while.