mirror of
https://github.com/home-assistant/supervisor.git
synced 2025-11-09 02:49:43 +00:00
Cleanup API / old rebranding (#3623)
* Cleanup API / old rebranding * cleanup p2 * next round * better comments * cleanup import * support only installed add-ons * legacy migration * test fixes * add old env back * revert for Core * fix issues with old core * fix * using installed short cat * revert * extend legacy * cleanup * fix path * Fix missing * add stop * readd old token * Add minimal * extend attributes * Add repo back * add more repo info * Make it working * Bump frontend to e7848262 (#3680) * Add icon Co-authored-by: Joakim Sørensen <joasoe@gmail.com>
This commit is contained in:
@@ -26,17 +26,18 @@ from ..const import (
|
||||
ATTR_SLUG,
|
||||
ATTR_TYPE,
|
||||
ATTR_VERSION,
|
||||
CONTENT_TYPE_TAR,
|
||||
)
|
||||
from ..coresys import CoreSysAttributes
|
||||
from ..exceptions import APIError
|
||||
from .const import CONTENT_TYPE_TAR
|
||||
from .utils import api_process, api_validate
|
||||
|
||||
_LOGGER: logging.Logger = logging.getLogger(__name__)
|
||||
|
||||
RE_SLUGIFY_NAME = re.compile(r"[^A-Za-z0-9]+")
|
||||
|
||||
# Backwards compatible / Remove 2022.08
|
||||
# Backwards compatible
|
||||
# Remove: 2022.08
|
||||
_ALL_FOLDERS = ALL_FOLDERS + [FOLDER_HOMEASSISTANT]
|
||||
|
||||
# pylint: disable=no-value-for-parameter
|
||||
|
||||
Reference in New Issue
Block a user