Fix hardcoded UoM for total power sensor for Tuya zndb devices (#141822)

This commit is contained in:
Franck Nijhof 2025-03-30 17:44:48 +02:00 committed by GitHub
parent 12eb071e8a
commit 7232d36494
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -832,7 +832,6 @@ SENSORS: dict[str, tuple[TuyaSensorEntityDescription, ...]] = {
translation_key="total_power",
device_class=SensorDeviceClass.POWER,
state_class=SensorStateClass.MEASUREMENT,
native_unit_of_measurement=UnitOfPower.KILO_WATT,
subkey="power",
),
TuyaSensorEntityDescription(