Hi Rob, sorry didn’t get back to your via your email. Seen it, but got sidetracked with other projects prior to being able to answer. For your original question via the email, sorry I didn’t have any code ready that would allow you to do something similar to what you are asking.
@Stewart has given you good advice as to how you can go about accomplishing what you are asking. Unfortunately you have two requirements for when you schedule should be ran, time and temperature. I do not know any ready way that can complete both out of the box (feedback from wider community is welcome).