core: Sensor is missing reactive energy
The problem
Sensor has device class of reactive_power
but it lacks its counterpart that would be reactive_energy
measured in VArh, kVArh, etc.
Energy meters usually measure it and in some cases reactive energy consumption is also billed. I think it should be part of Home Assistant and I believe it would be easy change to do.
It looks to me like an accidental, instead of intended omission, that’s why I am reporting it as bug, not as feature request.
What version of Home Assistant Core has the issue?
2023.1.2
What was the last working version of Home Assistant Core?
No response
What type of installation are you running?
Home Assistant OS
Integration causing the issue
sensor
Link to integration documentation on our website
https://www.home-assistant.io/integrations/sensor#device-class
Diagnostics information
No response
Example YAML snippet
No response
Anything in the logs that might be useful for us?
Log Details (WARNING)
Logger: homeassistant.components.sensor
Source: components/sensor/__init__.py:980
Integration: Sensor (documentation, issues)
First occurred: 10:03:12 (14 occurrences)
Last logged: 10:03:36
Entity sensor.l3_pobrana_energia_bierna (<class 'homeassistant.components.modbus.sensor.ModbusRegisterSensor'>) is using native unit of measurement 'kvarh' which is not a valid unit for the device class ('energy') it is using; Please update your configuration if your entity is manually configured, otherwise create a bug report at https://github.com/home-assistant/core/issues?q=is%3Aopen+is%3Aissue+label%3A%22integration%3A+modbus%22
Entity sensor.oddana_energia_bierna (<class 'homeassistant.components.modbus.sensor.ModbusRegisterSensor'>) is using native unit of measurement 'kvarh' which is not a valid unit for the device class ('energy') it is using; Please update your configuration if your entity is manually configured, otherwise create a bug report at https://github.com/home-assistant/core/issues?q=is%3Aopen+is%3Aissue+label%3A%22integration%3A+modbus%22
Entity sensor.l1_oddana_energia_bierna (<class 'homeassistant.components.modbus.sensor.ModbusRegisterSensor'>) is using native unit of measurement 'kvarh' which is not a valid unit for the device class ('energy') it is using; Please update your configuration if your entity is manually configured, otherwise create a bug report at https://github.com/home-assistant/core/issues?q=is%3Aopen+is%3Aissue+label%3A%22integration%3A+modbus%22
Entity sensor.l2_oddana_energia_bierna (<class 'homeassistant.components.modbus.sensor.ModbusRegisterSensor'>) is using native unit of measurement 'kvarh' which is not a valid unit for the device class ('energy') it is using; Please update your configuration if your entity is manually configured, otherwise create a bug report at https://github.com/home-assistant/core/issues?q=is%3Aopen+is%3Aissue+label%3A%22integration%3A+modbus%22
Entity sensor.l3_oddana_energia_bierna (<class 'homeassistant.components.modbus.sensor.ModbusRegisterSensor'>) is using native unit of measurement 'kvarh' which is not a valid unit for the device class ('energy') it is using; Please update your configuration if your entity is manually configured, otherwise create a bug report at https://github.com/home-assistant/core/issues?q=is%3Aopen+is%3Aissue+label%3A%22integration%3A+modbus%22
Additional information
No response
About this issue
- Original URL
- State: closed
- Created a year ago
- Reactions: 10
- Comments: 25 (2 by maintainers)
+1 for me, it’s really annoying seeing in logs that HA doesnt recognize this unit. Also, it would be great to have kva / kvarh units, as they’re most popular (va in kilo scale)
+1 this new device class is needed
+1 Device class - reactive_energy and unit_of_measurement - VArh and kVArh are necessaries. Please add.
+1 please add
Suprisingly true, as there was still no activity. 😉 But that doesn’t means, that there could not be one.