Make smartthings use the right unit of measurement for illuminance sensors (#95456)
This commit is contained in:
parent
e0d1d16da1
commit
d8d580ad58
1 changed files with 5 additions and 1 deletions
|
@ -535,7 +535,11 @@ CAPABILITY_TO_SENSORS: dict[str, list[Map]] = {
|
|||
],
|
||||
}
|
||||
|
||||
UNITS = {"C": UnitOfTemperature.CELSIUS, "F": UnitOfTemperature.FAHRENHEIT}
|
||||
UNITS = {
|
||||
"C": UnitOfTemperature.CELSIUS,
|
||||
"F": UnitOfTemperature.FAHRENHEIT,
|
||||
"lux": LIGHT_LUX,
|
||||
}
|
||||
|
||||
THREE_AXIS_NAMES = ["X Coordinate", "Y Coordinate", "Z Coordinate"]
|
||||
POWER_CONSUMPTION_REPORT_NAMES = [
|
||||
|
|
Loading…
Add table
Reference in a new issue