That’s an elegant solution, looks great! Thanks! I just put it in, first tests show promising results. I’ll let it run tomorrow morning. And as an added bonus, I’ll put my espresso machine in it as well, so if it doesn’t work, I won’t get any coffee…
Thanks again, this question, or better your answers, have taken me way farer, than hours of reading in the documentation. I’ll let you know!
Sorry for the late reply, but I can tell, coffee works great! In both your versions, @123.
I luckily noticed the if in the expression before pasting the code into the automation. I can only say thanks again, you are doing a great job in explaining and your answers are very detailed!
For now I changed to your last version, but I’ll keep the more “nerdy” version close by, I’m sure it willl explain a lot of things later and comes in handy.