mirror of
https://github.com/home-assistant/core.git
synced 2025-07-21 12:17:07 +00:00
Set SmartThings oven setpoint to unknown if its 1 Fahrenheit (#145038)
This commit is contained in:
parent
8a32ffc7b9
commit
2ca9d4689e
@ -633,7 +633,7 @@ CAPABILITY_TO_SENSORS: dict[
|
|||||||
device_class=SensorDeviceClass.TEMPERATURE,
|
device_class=SensorDeviceClass.TEMPERATURE,
|
||||||
use_temperature_unit=True,
|
use_temperature_unit=True,
|
||||||
# Set the value to None if it is 0 F (-17 C)
|
# Set the value to None if it is 0 F (-17 C)
|
||||||
value_fn=lambda value: None if value in {0, -17} else value,
|
value_fn=lambda value: None if value in {-17, 0, 1} else value,
|
||||||
)
|
)
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
|
Loading…
x
Reference in New Issue
Block a user