Add Celsius and Fahrenheit to Smartthings UNITS mapping (#169686)

This commit is contained in:
kernelpanic85
2026-05-04 21:20:04 +02:00
committed by GitHub
parent 553ba5e7ab
commit f90e9ceb6c
@@ -1284,6 +1284,8 @@ CAPABILITY_TO_SENSORS: dict[
UNITS = {
"C": UnitOfTemperature.CELSIUS,
"F": UnitOfTemperature.FAHRENHEIT,
"Celsius": UnitOfTemperature.CELSIUS,
"Fahrenheit": UnitOfTemperature.FAHRENHEIT,
"ccf": UnitOfVolume.CENTUM_CUBIC_FEET,
"lux": LIGHT_LUX,
"mG": None,