Hello,
I have created an automation, but it is not working as I wish.
My request:
If the room temperature (based on thermostat) is higher then a max value then close the covers but only if the time is between 13:00 and 19:00 and the outer tempeature is higher then a max value.
I have created the following automation:
It not working correctly: I suppose it can work only if the inner temparature become higher than the max value between 13:00 and 19:00, and if in that moment the outer temperature is already higher than the max value.
For example it works correctly if max temp is 24C and at 14:00 the outer temperature is 25C and the inner temperature become from 23,5C to 24C.
But it not works if at 12:59 the inner temperature is 25C and the outer temperature is already 26C. In this case the action does not triggers at 13:00.
How do I have to modify the automation to work correctly?
I don’t know if this is the complete solution, but the automation will only trigger based on the entities in the trigger section. If you want it to check the trigger template based on other entities (the ones in the condition), you need to list them. I tend to list all involved entities anyway, just in case the auto-detection doesn’t work:
Just because the output looks the same doesn’t mean it is.
so ‘123’ looks like 123 in the front end
but ‘123’ (string) does not equal 123 (number)
If you mess with strings you can get unexpected results like ‘9’ > ‘123’ == True
If you look at Tom’s activity on the site you will see that he has spent 64 DAYS reading this stuff (I’m amazed he keeps it all straight in his head as what is true today could have been complete rubbish 3 releases ago ) He’s jumped through a lot of hoops !