rcant
(Cantarelli Roberto)
February 11, 2022, 12:40pm
1
Hello, I would like to create a sensor that checks the correct functioning of all (and there are several) of my entities to notify me if, as often happens, some become unavailable.
Is there any way to create a template without naming them all?
Thank
tom_l
February 11, 2022, 12:57pm
2
There’s a blueprint for that:
This blueprint will run at a specific time and day of the week and will provide you a list of unavailable entities {{entities}} that could be used in one or more actions (I use it to send a notification)
[image]
Notification action example:
service: notify.home_email
data:
title: Unavailable Entities
message: Here is a list of unavailable entities in your home: {{entities}}
To use the blueprint use the link below to import it to your Home Assistant installation:
[Open your Home A…
Or some more options in this topic:
This template sensor will iterate the states object and return a count and list of entities that have a state of unknown, unavailable. This is a new version that incorporates a couple of new features such as ignoring entities for a time period and filtering entities based on a partial string match in addition to the entities declared in the ignored_entities group.
The package has been moved to it’s own repository with updated documentation.
Update 2023-9-22: Template and documentation have be…