Hi everyone,
I need help with a simple automation I cannot solve.
I have connected a Shelly 2.5 to my washing machine so I can monitor the energy consumption.
Shelly is correctly configure and the related shelly sensor works and reads correctly the current power consumption (W).
The automation is this:
When power consumption goes from above 5 W to below 4 W do the following:
Notification to phone
Alexa TTS saying the washing machine has finished its cycle.
Pretty simple but it does not trigger automatically.
This is the related sensor, showing the washing cycles in W. That works.
I’ve also tried to trigger it by setting manual values on the sensor using DevTools on HomeAssistant, the entity goes to 6 (W) then I set it manually to 3 (W) but it does not trigger. What am I doing wrong?
Your trigger options contradict each other - you will never have consumption above 5W AND below 4W. Remove above: condition and it should work. Note that triger fires when threshold is met and below or above defines direction of crossing the threshold. So below: 4 means trigerring automation when consumtion drops below 4W. Having above: 5 is not required, unless, for some reason, you want to exclude case when consumption drops from 4.5W to 3.5W but then also syntax would be different…