I have found some similar posts but the actual intent of the rule was a bit different. I am a newbie to rule engine so I hope this is not too basic a question to ask.
Desired Automation:
from 19h to 7h when the temperature goes below 21 degrees start the space heater (in a smart plug) until the temperature reads 23 degrees then turn it off.
I have not yet written the rule since my zigbeen temp sensor and outlet are only arriving today.
My question is can I use the Wait command for this? Something like:
If time is between 19h and 7h
if Baby Room Temp Monitor <= 21
Turn on Baby Room outlet
Wait until baby room temp >= 23
Turn off baby room outlet
Avg.Tmps.Yard comes from a few Hue motion sensors in yard. Only one sensor reading was necessary, but I grouped a few for the heck of it). As well, the Required Expression isn't necessary.
CSp.T4.Temp. is a temperature sensor in the crawlspace. That's necessary [g].