Add Availability template to template sensor helpers #92
-
Describe your core improvementIn YAML you can define template sensors including a availability template. An availability template is used to suppress rendering of the state template if the source sensor does not have a valid numeric state. This is needed for e.g. energy sensors to supresss the spikes during the restart of Home Assistant. These spikes will also be shown in the energy dashboard. Current limitationsYou have to define the sensors in YAML if you want to use the availability template in template sensors. Technical benefitsNo more spikes during restart of HA. No more YAML for these template sensors. Additional contextNo response |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 3 replies
-
|
Unfortunately, this is up to the core team. I would typically add this to the front end but it needs to be approved by core first. Now that we have collapsible sections, I may be able to add this without push-back. |
Beta Was this translation helpful? Give feedback.
-
|
This PR adds availability to all template platforms in the UI. |
Beta Was this translation helpful? Give feedback.
This PR adds availability to all template platforms in the UI.