mirror of
https://github.com/home-assistant/core.git
synced 2025-07-16 17:57:11 +00:00
Remove duplicated available property from Picnic coordinator entities (#96861)
This commit is contained in:
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…
x
Reference in New Issue
Block a user