krbaker / hass-sunpower

Home Assistant SunPower Integration using the local installer ethernet interface.
Apache License 2.0
49 stars 22 forks source link

MPPT_amps sensors have the wrong measurement unit, and now causing HA warnings #39

Closed pbryan7 closed 1 year ago

pbryan7 commented 1 year ago

Entity sensor.mppt_amps_12 (<class 'custom_components.sunpower.sensor.SunPowerInverterBasic'>) is using native unit of measurement 'VA' which is not a valid unit for the device class ('current') it is using; expected one of ['mA', 'A']; Please update your configuration if your entity is manually configured, otherwise report it to the custom integration author.

krbaker commented 1 year ago

this should be fixed now (thanks Ken)