Deprecate the updater integration (#67038)
This commit is contained in:
parent
995f4fbfda
commit
633e7e90ac
2 changed files with 5 additions and 12 deletions
|
@ -31,11 +31,10 @@
|
|||
"tag",
|
||||
"timer",
|
||||
"usb",
|
||||
"updater",
|
||||
"webhook",
|
||||
"zeroconf",
|
||||
"zone"
|
||||
],
|
||||
"codeowners": [],
|
||||
"quality_scale": "internal"
|
||||
}
|
||||
}
|
|
@ -58,16 +58,10 @@ class Updater:
|
|||
|
||||
async def async_setup(hass: HomeAssistant, config: ConfigType) -> bool:
|
||||
"""Set up the updater component."""
|
||||
conf = config.get(DOMAIN, {})
|
||||
|
||||
for option in (CONF_COMPONENT_REPORTING, CONF_REPORTING):
|
||||
if option in conf:
|
||||
_LOGGER.warning(
|
||||
"Analytics reporting with the option '%s' "
|
||||
"is deprecated and you should remove that from your configuration. "
|
||||
"The analytics part of this integration has moved to the new 'analytics' integration",
|
||||
option,
|
||||
)
|
||||
_LOGGER.warning(
|
||||
"The updater integration has been deprecated and will be removed in 2022.5, "
|
||||
"please remove it from your configuration"
|
||||
)
|
||||
|
||||
async def check_new_version() -> Updater:
|
||||
"""Check if a new version is available and report if one is."""
|
||||
|
|
Loading…
Add table
Reference in a new issue