Correct unit for total usage in rfxtrx (#115719)

This commit is contained in:
Joakim Plate
2024-04-16 22:35:55 +02:00
committed by GitHub
parent 4a89e18b7e
commit 81036967f0

View File

@@ -149,7 +149,7 @@ SENSOR_TYPES = (
translation_key="total_energy_usage",
device_class=SensorDeviceClass.ENERGY,
state_class=SensorStateClass.TOTAL_INCREASING,
native_unit_of_measurement=UnitOfEnergy.KILO_WATT_HOUR,
native_unit_of_measurement=UnitOfEnergy.WATT_HOUR,
),
RfxtrxSensorEntityDescription(
key="Voltage",