Open ptr727 opened 8 hours ago
No, sorry. History stats is an integration of its own and not a type of entity available for developers to create. When it comes to wanting very specific stats like that, you'll have to create history stats sensors manually.
Shouldn't be that big of a time suck considering you can copy paste your code and just change the name and entity id.
Ok, too bad, was hoping there is a way for a custom component to create other integrations.
I added an automation to monitor vent online/offline state, and I added
history_stats
for a couple vents to monitor how often they are offline.The notification is pretty easy for I do it for any connected device (with your prior help to add the state), but I have not found a way to do
history_stats
without manually creating an entry for every single vent.I am wondering if it is possible to add a
history_stats
or some other sensor to be able to report on disconnected time per period, e.g. offline time per week, for every vent?History stats sensor:
Blueprint for connectivity state change notifications:
Thank you