Node Red Time Based Conditional Flow

I’ve created an automation within home assistant, but want to get it shifted over to NR. In principle the above is I think what I want to do(tested parts but not as whole), but I feel like there has to be a better way to do these types of things. I have quite a few that I’m trying to move over from HA that are more time based triggers with conditions for certain days/items. Is it better to split them into a single rung for what to do?

Thanks in advance for any advice or suggestions.

For my time-based automations, I use the times of the day sensors and workday sensor.

Then, I use event:state change nodes to trigger various actions based upon the time of the day and day of the week.

Thank you for reply, that’s an interesting idea. I hadn’t seen the TOD sensor but frequently use the Workday sensor for various other automation. I’ll have to set this up and give it a try. Thanks again.

1 Like