Remove duplicated available property from Picnic coordinator entities (#96861)

pull/96866/head
Michael 2023-07-18 22:09:19 +02:00 committed by GitHub
parent 3681816a43
commit 3c072e50c7
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 0 additions and 5 deletions

View File

@ -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."""