Remove duplicated available property from Picnic coordinator entities (#96861)
parent
3681816a43
commit
3c072e50c7
|
@ -271,11 +271,6 @@ class PicnicSensor(SensorEntity, CoordinatorEntity):
|
|||
)
|
||||
return self.entity_description.value_fn(data_set)
|
||||
|
||||
@property
|
||||
def available(self) -> bool:
|
||||
"""Return True if last update was successful."""
|
||||
return self.coordinator.last_update_success
|
||||
|
||||
@property
|
||||
def device_info(self) -> DeviceInfo:
|
||||
"""Return device info."""
|
||||
|
|
Loading…
Reference in New Issue