New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Feature Request: Include Entities and run every x minutes #39
Comments
This is a template, not a blueprint. Blueprints create scripts and automations, this creates a sensor that you can use in scripts and automations (with examples provided). I keep the template as simple as possible in the git to make it easy to understand and because most people are going to customize it to their own needs anyway.
The template as is updates every time the entity_id attribute changes. You can set the automation that sends your notification to trigger whenever you want. The example automation in the package fires immediately when the sensor goes above 0. You can change the sensor template to a trigger template style to limit state updates to once per minute using a time sensor as a trigger (you must have the time integration installed). In fact, that is exactly what I have done in my on configuration for my customize version of the sensor. If you're really trying to limit how often your notifications get sent, it would be preferable to control that in your automation rather than the template itself.
More or less covered by #16 but here's how to do it for a group. I also made it a trigger sensor to put it all together for you. Keep in mind using a trigger template sensor this way, the entity_id attribute will still update constantly but the state will only update once per minute. So it's possible for the state and number of entities listed in the attribute to be different for up to a minute until the sensor updates again.
|
Oops I'm sorry... I placed this feature request in the wrong place, it was meant for https://github.com/gmlupatelli/blueprints_repo in regards to this blueprint Your suggestions do help in my understanding however, thanks for that. |
Great blueprint, almost what I was looking for. It could become a bit more versatile if you would consider adding these features:
The text was updated successfully, but these errors were encountered: