StephanJoubert / home_assistant_solarman

Home Assistant component for Solarman collectors used with a variety of inverters.
Apache License 2.0
544 stars 199 forks source link

Deye Sun600 "Output Active Power" is W #167

Open optimismus opened 1 year ago

optimismus commented 1 year ago

The definition of deye_string.yaml contains a wrong uom, it is Wh, not kWh.

original:

name: "Output Active Power"
      class: "energy"
      state_class: "measurement"
      uom: "kWh"
      scale: 0.1
      rule: 3
      registers: [0x0056, 0x0057]
      icon: 'mdi:home-lightning-bolt'

new:

name: "Output Active Power"
      class: "energy"
      state_class: "measurement"
      uom: "Wh"
      scale: 0.1
      rule: 3
      registers: [0x0056, 0x0057]
      icon: 'mdi:home-lightning-bolt'

That leads to 108kWh inside of Home Assistant ... with SUN600 :-)

hajo62 commented 1 year ago

Duplicate. See https://github.com/StephanJoubert/home_assistant_solarman/issues/129