Hello, I’d ask for some help how to run this stuff, it works mostly just one condition I guess.
I saw a more complex code for this stuff but its a bit too advanced for me at the moment so I’ll try to get a solution for this first.
So I have 2 shelly power plugs that notify me when the usage of a washing machine and tumble dryer drops under 10 watts for 3mins.
This stuff works great for now the only problem is that as it seems the connection to shelly plugs drops 1-3 times per day for a second or two. That means that the script runs again and because the wattage is under 10watts for 3mins it triggers a notification. It kinda gets annoying so I’d only need some delay or something that it does not trigger the script if drops connection.
Any suggestions would be great, thanks in advance.
How about an automation to set (true/false) an input boolean. Set true when under 10 watts for 3 minutes and false when it exceeds 10 watts. Don’t set the initial value of the input_boolean