Hi all,
I want to make an automation to reset my energy meters and send me an e-mail report at 00:00:00 on day 0 of a month. I got the notification and service call parts working. I just can’t figure out how to make it go at the beginning (or end) of the month. I can run it daily using the time trigger, but couldn’t get it much farther than that.
Thanks. Is now() more efficient than adding the time_date sensor and polling that? I saw that with some searching but looks like a lot of templates use now().
I set up a test to run tonight. I’ll let you know how it goes.
You can’t use now() in a trigger as it is only evaluated once. So in a condition it is evaluated once for every time the automation triggers, but in a trigger it would not ever be evaluated again.