Automation is not triggered when GoodWe inverter sensor.pv_power comes above value

Hi,

I’m new in using the home assistant. What I try to do is to trigger something to switch on when my Goodwe solar inverter is producing more than 2100w. However the automation I created is not triggering. I saw the (sensor.PV_power) step from below 2100w to a number above (see Picture). What I’m doing wrong?

Thanks for your answers.

Regards,
Peter

Please share the YAML (formatted correctly) so we can see the automation.

Also, check the trace to see what happened.

With this:

image

image

and no trace as it is not triggered.

Welcome Peter,
That’s not the formatting Tinkerer asked for in his link but I can see it.

My suggestion is check all the things. Make sure that sensor has a value and the value is actually a number. Open your Home Assistant instance and show your state developer tools.
Know that that trigger will happen only at the moment when the value goes above 2100. If it’s already above it will not trigger nor will it trigger if it goes lower thru the threshold.

Also make sure your device logic for the light works. There is no way for me to help with that, you just have to have the random numbers right.
Why and how to avoid device_ids in automations and scripts.

1 Like