I want to use something like the Text or Number Templates in the web server to provide a drop-down list of onboard entities so I can pick one entity out of the list?
An example or two helps clarify this.
I want to add a delay to a switch, so when the switch goes off, the delay is triggered. Another entity will stay on until the delay is finished. This way, if I turn a device on, another entity goes on and will stay on for a set time after the switch is turned off.
I have 8 entities on this device and would rather not do that many delays, so I want a way, on the web server, to list which switches or sensors will have a delay. To do that, I need to be able to have something like a drop-down list that I can use to pick out one device for use.
Is there a way to list all the entities on an ESPHome system in a dropdown on the web server so I can pick which one I want to use this for?