#Hi all
1 messages · Page 1 of 1 (latest)
rolling time window i think.
I want send a message when my dryer has completed its cycle but what I have sends a message every time the power value for the sensor drops below 20
#templates-archived message here's a link to a bit of #templates-archived code showing how to look at the last 12 hours. should be able to manipulate that to do what you want
now() - timedelta(hours=12)) this part specifically
you might want to ask follow up questions in #templates-archived
https://community.home-assistant.io/t/notify-or-do-something-when-an-appliance-like-a-dishwasher-or-washing-machine-finishes/254841 you also might prefer to just use a blueprint like the one shared here