Automation including multiple entities

Hey all, looking for some help regarding multiple entity automation. I currently have this running in node red and as 3 separate automations, but wanted to know if I could combine to one, here is what I want to do:
I have three a/c’s - climate.a climate.b.& climate.c
currently each automation (and node red on one page) does the following:
If not Saturday:
If climate.a is turned on, wait one hour, turn off climate.a

pretty simple, but how can I combine it for all three and make sure it continues to check even when running?