I have a simple rule that emails me when my front door is opened. Because sometime, my email is delayed, I would like to add the time into the message of the email.
I’m sure I can figure it out, but I’m hoping someone can quickly tell me what I need to add. I have the below, but I don’t think it’s working properly.
rule "Front Door - OPEN"
when Item FrontDoor changed from CLOSED to OPEN
then
sendMail(mailTo, “Front Door - Opened”, "Front Door - Opened - " + DateTime.now())