Can I put a
trigger & block node inside a subflow? My guess is each time a new message comes in, a new instance of the subflow will be created.
- What mental model should I have of a "node". Is it analogous to an instance of a class or more analogous to a singleton?
- Can I solve this inside a subflow by having a global
lockon the specific door (entity_id)?
- does this exist already as a contrib?
I am running Home Assistant and have multiple (2) garage doors. When the door starts closing it emits a
closing state event. The
Close Door with retries subflow will retry closing the door 3 times and then give up and send me a notification to my phone.
Close Door with retries subflow, after it detects the closing has failed (door state is
open) the subflow will tell Home Assistant to close the door, which then triggers the
state_changed node again. That's why I have the trigger & block node before the subflow.