Skip to content

Commit 93a0a57

Browse files
committed
Correct temperature unit
Pointed out by @TheJulianJES.
1 parent 35ea7b4 commit 93a0a57

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

zhaquirks/sonoff/snzb02d.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -121,7 +121,7 @@ class AttributeDefs(BaseAttributeDefs):
121121
min_value=-50,
122122
max_value=50,
123123
step=0.1,
124-
unit=TemperatureUnit,
124+
unit=UnitOfTemperature.CELSIUS,
125125
multiplier=0.01,
126126
translation_key="temperature_calibration",
127127
fallback_name="Temperature calibration",

0 commit comments

Comments
 (0)