I am new user of HA and this will be the first automation I would have done.
I want to switch on a shelly relay (for pump on pool) when the power level exceeds a certain level of solar generated power.
Here is what I have done so far. I have to use NEGATIVE setting on meter(I think) as that is free power available to be consumed, that otherwise would be returned to grid. (it reports in negative numbers when sending to grid)
You didn’t ask it to — don’t assume it does anything more than exactly what you tell it. Create a second automation to switch off when the sensor goes above -2000W — you can combine both into a single automation, but at this early stage, having two is easier to create via the UI.