mirror of
https://github.com/home-assistant/core.git
synced 2025-04-24 17:27:52 +00:00
Remove unneeded type checking from Sensibo (#85231)
This commit is contained in:
parent
4335a7c653
commit
26a964b90a
@ -352,8 +352,6 @@ class SensiboDeviceSensor(SensiboDeviceBaseEntity, SensorEntity):
|
||||
def native_value(self) -> StateType | datetime:
|
||||
"""Return value of sensor."""
|
||||
state = self.entity_description.value_fn(self.device_data)
|
||||
if isinstance(state, str):
|
||||
return state.lower()
|
||||
return state
|
||||
|
||||
@property
|
||||
|
Loading…
x
Reference in New Issue
Block a user