mirror of
https://github.com/home-assistant/supervisor.git
synced 2025-07-27 19:16:29 +00:00
AddonStore is_installed needs to check installed (#3701)
This commit is contained in:
parent
44e4e727cc
commit
bb3b8891bc
@ -21,7 +21,7 @@ class AddonStore(AddonModel):
|
||||
@property
|
||||
def is_installed(self) -> bool:
|
||||
"""Return True if an add-on is installed."""
|
||||
return False
|
||||
return self.sys_addons.get(self.slug, local_only=True) is not None
|
||||
|
||||
@property
|
||||
def is_detached(self) -> bool:
|
||||
|
Loading…
x
Reference in New Issue
Block a user