mirror of
https://github.com/home-assistant/supervisor.git
synced 2025-07-28 11:36:32 +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
|
@property
|
||||||
def is_installed(self) -> bool:
|
def is_installed(self) -> bool:
|
||||||
"""Return True if an add-on is installed."""
|
"""Return True if an add-on is installed."""
|
||||||
return False
|
return self.sys_addons.get(self.slug, local_only=True) is not None
|
||||||
|
|
||||||
@property
|
@property
|
||||||
def is_detached(self) -> bool:
|
def is_detached(self) -> bool:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user