diff --git a/homeassistant/components/bluetooth/passive_update_coordinator.py b/homeassistant/components/bluetooth/passive_update_coordinator.py index 81a67f6caef61..75e5910554bb8 100644 --- a/homeassistant/components/bluetooth/passive_update_coordinator.py +++ b/homeassistant/components/bluetooth/passive_update_coordinator.py @@ -48,6 +48,11 @@ def __init__( super().__init__(hass, logger, address, mode, connectable) self._listeners: dict[CALLBACK_TYPE, tuple[CALLBACK_TYPE, object | None]] = {} + @property + def available(self) -> bool: + """Return if device is available.""" + return self._available + @callback def async_update_listeners(self) -> None: """Update all registered listeners.""" diff --git a/homeassistant/components/bluetooth/passive_update_processor.py b/homeassistant/components/bluetooth/passive_update_processor.py index e7a902f4db07c..230c810999ff8 100644 --- a/homeassistant/components/bluetooth/passive_update_processor.py +++ b/homeassistant/components/bluetooth/passive_update_processor.py @@ -311,7 +311,7 @@ def __init__( @property def available(self) -> bool: """Return if the device is available.""" - return super().available and self.last_update_success + return self._available and self.last_update_success @callback def async_get_restore_data( diff --git a/homeassistant/components/bluetooth/update_coordinator.py b/homeassistant/components/bluetooth/update_coordinator.py index eb2f8c0cf825f..880824aeccfd3 100644 --- a/homeassistant/components/bluetooth/update_coordinator.py +++ b/homeassistant/components/bluetooth/update_coordinator.py @@ -83,11 +83,6 @@ def last_seen(self) -> float: # was set when the unavailable callback was called. return self._last_unavailable_time - @property - def available(self) -> bool: - """Return if the device is available.""" - return self._available - @callback def _async_start(self) -> None: """Start the callbacks."""