mirror of
https://github.com/home-assistant/core.git
synced 2025-07-23 13:17:32 +00:00
Make smartthings use the right unit of measurement for illuminance sensors (#95456)
This commit is contained in:
parent
e0d1d16da1
commit
d8d580ad58
@ -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"]
|
THREE_AXIS_NAMES = ["X Coordinate", "Y Coordinate", "Z Coordinate"]
|
||||||
POWER_CONSUMPTION_REPORT_NAMES = [
|
POWER_CONSUMPTION_REPORT_NAMES = [
|
||||||
|
Loading…
x
Reference in New Issue
Block a user