mirror of
https://github.com/home-assistant/supervisor.git
synced 2025-07-16 05:36:29 +00:00
Fix cleanup name
This commit is contained in:
parent
6c217d506c
commit
094c5968f4
@ -89,12 +89,12 @@ class CoreConfig(Config):
|
||||
self._data[UPSTREAM_BETA] = bool(value)
|
||||
|
||||
@property
|
||||
def cleanup_hassio(self):
|
||||
def hassio_cleanup(self):
|
||||
"""Return Version they need to cleanup."""
|
||||
return self._data.get(HASSIO_CLEANUP)
|
||||
|
||||
@cleanup_hassio.setter
|
||||
def cleanup_hassio(self, version):
|
||||
@hassio_cleanup.setter
|
||||
def hassio_cleanup(self, version):
|
||||
"""Set or remove cleanup flag."""
|
||||
if version is None:
|
||||
self._data.pop(HASSIO_CLEANUP, None)
|
||||
|
Loading…
x
Reference in New Issue
Block a user