Hello,
I'm using a flow to control some electric heaters with values from my evohome. The flows check workday/weekend and certain time blocks so the heating only happens when we are normally home.
I made some helpers in HomeAssistant and added them to the UI so we can set a temperature and a time to be able to heat outside of these predefined times set in the automated flow. For this to work I created an 'override boolean' which I want to check in the automated heating flow to interrupt this flow. But I can't figure out how to do this.
My initial thought was with a switch node, but I dont know how to set it up so the switch node check the value of the override boolean, since the message coming in to the switch is not from this boolean but from the automated trigger. I see I can set the switch property to not be msg. but flow. or global. but I make it flow.input_boolean.override it does not work.
The other option I tried was using an current state node, this works as in the automated trigger arrives at the current state node, which does check to override boolean, but I dont know how to passthrough the original message that arrived at the current state node. It will output the state of the override not of automated trigger.
So how do I block a message from passing through my flow depending of the state of a boolean that is not in the message?