mirror of
https://github.com/home-assistant/core.git
synced 2025-08-03 04:35:11 +02:00
Remove unneeded type checking from Sensibo (#85231)
This commit is contained in:
@@ -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
|
||||
|
Reference in New Issue
Block a user