Deprecates sytadin integration (ADR-0004) (#25742)

This commit is contained in:
Franck Nijhof 2019-08-07 13:40:47 +02:00 committed by Pascal Vizeli
parent 2b6674b27f
commit d3aac13065

View File

@ -50,6 +50,12 @@ PLATFORM_SCHEMA = PLATFORM_SCHEMA.extend(
def setup_platform(hass, config, add_entities, discovery_info=None): def setup_platform(hass, config, add_entities, discovery_info=None):
"""Set up of the Sytadin Traffic sensor platform.""" """Set up of the Sytadin Traffic sensor platform."""
_LOGGER.warning(
"The sytadin integration is deprecated and will be removed "
"in Home Assistant 0.100.0. For more information see ADR-0004:"
"https://github.com/home-assistant/architecture/blob/master/adr/0004-webscraping.md"
)
name = config.get(CONF_NAME) name = config.get(CONF_NAME)
sytadin = SytadinData(URL) sytadin = SytadinData(URL)