Hello! I have an automation set up with a power monitor smart plug to tell when the washing machine is completed. I'm wondering if there's a way to only trigger when it goes below 1W if it has been above 1W for a certain amount of time. Sometimes there will be a very brief spike of power usage to 1.5ish W (not sure why) but then back to 0.7ish W (idle), triggering the 'cycle completed' automation. Is there a way to check if the power usage has been above a certain amount for a few minutes before triggering? Screenshots in thread
Thank you!!
#Automation goes below X but has been above Y for Z amount of time
1 messages · Page 1 of 1 (latest)
You'll probably want some extra helpers.
E.g. a template binary sensor that is on if above 1W, then you can test when it turns from on->off, how long it was on.
Or you can use an input_select to build something like a state machine.
e.g.:
If above 1W for 1 minute and state == off:
state = running
if below 1W and state == running,
state = finished
Why not just use 2W as the limit?
that's the easy solution definitely! Simple but just didnt think of it. Don't think i need the extra helpers, that prob would work too