Deprecate the synology integration (#39958)

* Deprecate the synology integration

* Add release to remove synology
This commit is contained in:
Xiaonan Shen 2020-09-14 18:14:13 +08:00 committed by GitHub
parent 6e6d6c65ef
commit 1e5186fe94
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -42,6 +42,13 @@ PLATFORM_SCHEMA = PLATFORM_SCHEMA.extend(
async def async_setup_platform(hass, config, async_add_entities, discovery_info=None): async def async_setup_platform(hass, config, async_add_entities, discovery_info=None):
"""Set up a Synology IP Camera.""" """Set up a Synology IP Camera."""
_LOGGER.warning(
"The Synology integration is deprecated."
" Please use the Synology DSM integration"
" (https://www.home-assistant.io/integrations/synology_dsm/) instead."
" This integration will be removed in version 0.118.0."
)
verify_ssl = config.get(CONF_VERIFY_SSL) verify_ssl = config.get(CONF_VERIFY_SSL)
timeout = config.get(CONF_TIMEOUT) timeout = config.get(CONF_TIMEOUT)