Template Sensor not available for use in Home Assistant

My first post and only a beginner on HA.

I have created some sensors in the Developer Tools => Template section of the UI. These sensors appear to work (as per the attached image) yet I am unable to see them in HA (Entity, Helper or add to the Energy Dashboard.) I have restarted the core and the entire machine (Raspberry Pi 5.)

What am I doing wrong here?

What you are doing wrong is assuming that the template test area will create entities. It will not. It is for testing templates only.

You need to put configuration in your configuration.yaml file (or one of the !included files) and either reload or restart home assistant for the entities to be created. A restart is required if you are using an integration for the first time, otherwise a reload should do.

Much thanks Tom.

1 Like