Maybe one (you?) should make a thread about that, so we can easily link to this as an explanation? Maybe something that could get pinned on top? (@petro ?)
Nonetheless it’s annoying, because people loose their faith. Even I had that moment a few days ago, it took me a few seconds before realizing it’s the bug - and not me!
I works! It turned on today when it was supposed to! Tomorrow the condition will be false and it will not turn on. I will create a few helpers to set the start times and number of days easier. I assume this is possible no?
@123 Hi Im trying to replicate your example but with a little bit more complexity. I want the automation to work every other day but this every two days I want it to run at two different hours 8:45 am and 2:00 pm.
I just want the espresso machine to turn on and I add a timer that send a notification when the machine is heated. This is what I come up based on your example. Can you let me know if it looks good?
Thanks for the quick response but Im getting this error Message malformed: Unexpected value for condition: '{{ (now() - as_datetime(0)).days % 2 == 0 }}'. Expected and, device, not, numeric_state, or, state, sun, template, time, trigger, zone @ data['condition'][0]
I neglected to erase the extraneous condition: that was in the original, which is not used for the shorthand method. I have corrected it above.
FWIW, you could get a little more functionality out of the automation by reorganizing it a little more… this way the time triggers only work on your every-other-day schedule, but if you manually turn on the switch to warm up the machine you will get your notification no matter what day it is…
Hi I realized today that I write that I wanted to turn on every other day with works great but what I really want is to turn on every two days. what I need to change? Thanks for the reorganized automation but the way im turning on the machine is kind of a hack so I can turn it on with home assistant but I have no way to know the state of the machine in HA if I turn it on manually.
I change the automation @Didgeridrew suggest to take advantage of the notification if i turn on the machine manually but Im getting this error Message malformed: expected dictionary @ data[‘action’][0][‘default’][0]