Many blueprints require helper entities for internal state storage. For example the Awesome HA Blueprints require a helper for the last controller event. This helper has to be created manually. It should be created automatically.
To be clear, you are talking about creating a ‘global’ variable as it has to persist after the script or automation BP has completed. It would have to be a new helper.
That would be useful for a lot of things.
You can workaround if the HA instance has access to an MQTT server. Your Blueprint could generate a topic and post to the topic with retain, then read it back again later when it runs again. Not as clean as a global variable, however.
Most under-voted WTH!
I want this so badly so blueprints can easily support cycling through multiple scenes!
2 Likes