I’m just starting to get the hang of scripts and thinking that it can be done “better”. I’m setting up some automations for bedtime, which does a number of different things, such as turning off lights, turning on the bedroom tv, starting a timer to adjust the room temperature, enabling a single press scene button to turn on lights for a bathroom run with a timed reset, etc. In the scripts i have now, i have to use a multitude of helpers (timers & counters).
Can I create the helpers from a script, or do they have to be manually created? My list of scripts, automations and helpers are a giant mess of stuff, making it easy to screw up.
For the most part, helpers have to be made manually. There are some advanced tricks where you can use an MQTT broker to help with this, but you need to be pretty good at YAML to do these.
Generally a Blueprint is used for something you want to repeat. IE you have a fan in each of 3 rooms, and a complex automation to handle them. Rather that repeat it 3x, you make one automation and just call it 3 times with different variables.
You may also want to build a blueprint if you find some nice way of handling something that you want to share with the community on the Blueprint Exchange.
Other than that the only need is to challenge yourself to see if you can do it. Always start with a basic script or automation that the logic is functioning, then build that into a blueprint.
Please consider marking with the Solution tag. It will automatically place a check-mark next to the topic’s title which signals to other users that this topic has been resolved. This helps users find answers to similar questions.