Node Red Automation #24
Replies: 1 comment
-
I figured this out. I created a text helper in HA to use as a condition for the flow. When a fan button gets pushed on the remote, a flow in Node Red sets the text helper to true, waits an hour, and then sets the text helper to false. When it is set to true, then the flow to automate the fan coming on/off doesn't run because the condition isn't met. When it is set to false, then the condition in the fan's automation flow is met and continues to run. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I have setup a flow in Node Red within Home Assistant to turn on the fan if the room temp is over a certain temperature. I am trying to figure out a way to disable the automation for a period of time if a button on the fan is pressed. So, like if the fan comes on and the Off button on the remote is pressed, don't run the automation for like an hour. I was thinking I can add a text variable in HA that gets set for a period of time and then use that as on of the conditions for the automation to run. However, I can't seem to figure out how to tell if the state changed due to a button on the remote being pressed or not. Anyone have a suggestion?
Beta Was this translation helpful? Give feedback.
All reactions