toreamun / amshan-homeassistant

Home Assistant integrasjon for strømmålere (AMS/HAN/P1). Integrasjonen støter både streaming (serieport/TCP-IP) og MQTT (Tibber Pulse, energyintelligence.se etc)
MIT License
150 stars 10 forks source link

Support new reactive power device class and var unit #26

Closed toreamun closed 2 years ago

toreamun commented 2 years ago

HA 2022.2 adds a device class for reactive power and a new unit type var.

Reactive power sensors currently uses device class power and unit kvar. These sensors should be changed to use SensorDeviceClass.REACTIVE_POWER and POWER_VOLT_AMPERE_REACTIVE. Sensor configuration should be migrated.

toreamun commented 2 years ago

https://github.com/toreamun/amshan-homeassistant/releases/tag/2022.2.1