Goodwe inverter EM

hi all, I just installed a photovoltaic system with goodwee em inverter and goodwee lx battery, I would like to insert it in the energy panel but I can’t understand some things.

  1. the consumption part, I have a sensor created by the sensor.house_consumption integration but in W and this I will have to convert

  2. same thing for the panels

now for the battery from the dashboard it asks me for the withdrawal sensor and the input sensor, but from the integration I don’t see how much current is going to the batteries but only how much I’m taking. at this point I will have to create a sensor that makes the subtraction between production and consumption?