mirror of
https://github.com/home-assistant/core.git
synced 2025-07-20 03:37:07 +00:00
Correct unit for total usage in rfxtrx (#115719)
This commit is contained in:
parent
4a89e18b7e
commit
81036967f0
@ -149,7 +149,7 @@ SENSOR_TYPES = (
|
|||||||
translation_key="total_energy_usage",
|
translation_key="total_energy_usage",
|
||||||
device_class=SensorDeviceClass.ENERGY,
|
device_class=SensorDeviceClass.ENERGY,
|
||||||
state_class=SensorStateClass.TOTAL_INCREASING,
|
state_class=SensorStateClass.TOTAL_INCREASING,
|
||||||
native_unit_of_measurement=UnitOfEnergy.KILO_WATT_HOUR,
|
native_unit_of_measurement=UnitOfEnergy.WATT_HOUR,
|
||||||
),
|
),
|
||||||
RfxtrxSensorEntityDescription(
|
RfxtrxSensorEntityDescription(
|
||||||
key="Voltage",
|
key="Voltage",
|
||||||
|
Loading…
x
Reference in New Issue
Block a user