I have beed rtying for a few days now - i have a temperature sensor and have set up to turn on the smart switch to turn on at certain temperature and turn off at certain temperature reached. However i would like this to only work between 18:00 - 7:00 and this automation should not run outside of those times. Plese guide me. below is the YAML for it
Hello, Yes the temperature did Cross above 22c. So i followed your and francis instruction and its the same - dosent kick in automatically. im doing it through the GUI at automation tab in settings - here is my yaml code. i dont know where to put the back tics - but this is what chat GPT Spat out for me and made sense based of the condition i had to add as per francis
Yeah, don’t waste your time with that. Just spend some time reading to docs to understand how to do things yourself.
You have a couple weird formatting things in yours. Here’s a random automation I made up in the UI that should work just fine, just replace with your devices/settings: