mirror of
https://github.com/home-assistant/supervisor.git
synced 2025-07-16 13:46:31 +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)
|
self._data[UPSTREAM_BETA] = bool(value)
|
||||||
|
|
||||||
@property
|
@property
|
||||||
def cleanup_hassio(self):
|
def hassio_cleanup(self):
|
||||||
"""Return Version they need to cleanup."""
|
"""Return Version they need to cleanup."""
|
||||||
return self._data.get(HASSIO_CLEANUP)
|
return self._data.get(HASSIO_CLEANUP)
|
||||||
|
|
||||||
@cleanup_hassio.setter
|
@hassio_cleanup.setter
|
||||||
def cleanup_hassio(self, version):
|
def hassio_cleanup(self, version):
|
||||||
"""Set or remove cleanup flag."""
|
"""Set or remove cleanup flag."""
|
||||||
if version is None:
|
if version is None:
|
||||||
self._data.pop(HASSIO_CLEANUP, None)
|
self._data.pop(HASSIO_CLEANUP, None)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user