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
parent a592feae3d
commit e66416c23d
No known key found for this signature in database
GPG Key ID: D62583BA8AB11CA3

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(