From d63a1ab51100b95a230bbdcecb85ffa1bd9dd5ea Mon Sep 17 00:00:00 2001 From: epenet <6771947+epenet@users.noreply.github.com> Date: Fri, 9 Dec 2022 15:57:57 +0100 Subject: [PATCH] Use UnitOfPower.BTU_PER_HOUR in zha (#83657) --- homeassistant/components/zha/sensor.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/homeassistant/components/zha/sensor.py b/homeassistant/components/zha/sensor.py index 9e25a58faec..ea996f7760d 100644 --- a/homeassistant/components/zha/sensor.py +++ b/homeassistant/components/zha/sensor.py @@ -428,7 +428,7 @@ class SmartEnergyMetering(Sensor): 0x03: f"100 {VOLUME_FLOW_RATE_CUBIC_METERS_PER_HOUR}", 0x04: f"US {UnitOfVolume.GALLONS}/{UnitOfTime.HOURS}", 0x05: f"IMP {UnitOfVolume.GALLONS}/{UnitOfTime.HOURS}", - 0x06: f"BTU/{UnitOfTime.HOURS}", + 0x06: UnitOfPower.BTU_PER_HOUR, 0x07: f"l/{UnitOfTime.HOURS}", 0x08: UnitOfPressure.KPA, # gauge 0x09: UnitOfPressure.KPA, # absolute