Skip to content

Commit 0691ad9

Browse files
joostlekfrenck
authored andcommitted
Set SmartThings oven setpoint to unknown if its 1 Fahrenheit (home-assistant#145038)
1 parent 715f116 commit 0691ad9

File tree

1 file changed

+1
-1
lines changed
  • homeassistant/components/smartthings

1 file changed

+1
-1
lines changed

homeassistant/components/smartthings/sensor.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -584,7 +584,7 @@ class SmartThingsSensorEntityDescription(SensorEntityDescription):
584584
device_class=SensorDeviceClass.TEMPERATURE,
585585
use_temperature_unit=True,
586586
# Set the value to None if it is 0 F (-17 C)
587-
value_fn=lambda value: None if value in {0, -17} else value,
587+
value_fn=lambda value: None if value in {-17, 0, 1} else value,
588588
)
589589
]
590590
},

0 commit comments

Comments
 (0)