mirror of
https://github.com/home-assistant/core.git
synced 2025-07-19 11:17:21 +00:00
Deprecates sytadin integration (ADR-0004) (#25742)
This commit is contained in:
parent
2b6674b27f
commit
d3aac13065
@ -50,6 +50,12 @@ PLATFORM_SCHEMA = PLATFORM_SCHEMA.extend(
|
||||
|
||||
def setup_platform(hass, config, add_entities, discovery_info=None):
|
||||
"""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)
|
||||
|
||||
sytadin = SytadinData(URL)
|
||||
|
Loading…
x
Reference in New Issue
Block a user