mirror of
https://github.com/home-assistant/supervisor.git
synced 2025-07-23 09:06:29 +00:00
Fix that need_build work like image (#912)
This commit is contained in:
parent
35aae69f23
commit
da3270af67
@ -534,7 +534,9 @@ class Addon(CoreSysAttributes):
|
|||||||
@property
|
@property
|
||||||
def need_build(self):
|
def need_build(self):
|
||||||
"""Return True if this add-on need a local build."""
|
"""Return True if this add-on need a local build."""
|
||||||
return ATTR_IMAGE not in self._mesh
|
if self.is_detached:
|
||||||
|
return ATTR_IMAGE not in self._data.system.get(self._id)
|
||||||
|
return ATTR_IMAGE not in self._data.cache.get(self._id)
|
||||||
|
|
||||||
@property
|
@property
|
||||||
def map_volumes(self):
|
def map_volumes(self):
|
||||||
|
Loading…
x
Reference in New Issue
Block a user