mirror of
https://github.com/home-assistant/core.git
synced 2025-04-23 16:57:53 +00:00
Check Celsius in SmartThings oven setpoint (#140687)
This commit is contained in:
parent
66fd7d9e8a
commit
403fe36489
@ -575,7 +575,8 @@ CAPABILITY_TO_SENSORS: dict[
|
||||
translation_key="oven_setpoint",
|
||||
device_class=SensorDeviceClass.TEMPERATURE,
|
||||
use_temperature_unit=True,
|
||||
value_fn=lambda value: value if value != 0 else None,
|
||||
# Set the value to None if it is 0 F (-17 C)
|
||||
value_fn=lambda value: None if value in {0, -17} else value,
|
||||
)
|
||||
]
|
||||
},
|
||||
|
Loading…
x
Reference in New Issue
Block a user