mirror of
https://github.com/home-assistant/core.git
synced 2025-08-04 05:05:09 +02:00
Force bool
This commit is contained in:
@@ -66,9 +66,9 @@ class BroadlinkDevice:
|
||||
return self.config.data[CONF_MAC]
|
||||
|
||||
@property
|
||||
def available(self) -> bool | None:
|
||||
def available(self) -> bool:
|
||||
"""Return True if the device is available."""
|
||||
if self.update_manager is None:
|
||||
if self.update_manager is None or self.update_manager.available is None:
|
||||
return False
|
||||
return self.update_manager.available
|
||||
|
||||
|
Reference in New Issue
Block a user