device_reset_script - 2023-12-07 by SirGoodenough
This script was invented to be used with my Device Tracker-Monitor-Notifier Blueprint. I released it as a standalone Script Blueprint because I saw an opportunity to add another tool to my toolbox, and possibly to others toolboxes
There are other places in my HA config where I need to reset something and now I can use this thing.
It asks for the entity or list of entities that you want to reset and how long you want them to be off for the reset.
When a Script using this Blueprint is called, it will use Homeassistant turn off to shut them off, wait the delay, then turn them back on. Simple Simple, but if you are doing it over and over in an automation, this cleans up the code quite a bit.
๐ฟNotice๐ฎ๐ฟโโ๏ธ:
-
Copies of the original Blueprint that were converted via the 'Take Control' feature or other means are officially not supported by me.
-
I may or may not be able to support you when you have a problem after you make changes to my code, as some of the code is no longer mine.
-
I & my license also require attribution as a link back to the original should you use this code in your own creation.
-
Here is a link to my license & the original github post expected to be followed & referenced as attribution should you use this code elsewhere.
Import to Home Assistant
Click to import this blueprint directly into your Home Assistant instance.
Configuration
Requires 2 inputs to configure
Source Code
View on GitHubDetails
Related Blueprints
More notifications automations you might like