Why does this flow not work?

Why does this flow not work automaticle?

Most likely the temperature was already below 21 ⁰before 4:00 . So the trigger triggered before 4:00 and the time-condition was untrue.

So you need an extra flow that checks the temperature at 4:00:

WHEN
it’s 4:00
AND
temperature below 21⁰
It’s a weekday
THEN
…..

Another way to get it functional

When..
sonoff Termometer temperature has changed
And..
Logic card “[temperature tag of Sonoff termometer] is less than 21”
(This card


)
And Time is between X and Y
And Today is a weekday
Then…
do stuff

Thank you for respons. This worked but than I am not able to select from to time and also no temp.

Thank you for your respons. The logic card chanced all. Now it is function. Thank you so much !!