Deprecates fedex integration (ADR-0004) (#25745)

pull/25755/head
Franck Nijhof 2019-08-07 15:26:43 +02:00 committed by Pascal Vizeli
parent b696f9ce5e
commit 84f464d089
1 changed files with 6 additions and 0 deletions

View File

@ -44,6 +44,12 @@ def setup_platform(hass, config, add_entities, discovery_info=None):
"""Set up the Fedex platform."""
import fedexdeliverymanager
_LOGGER.warning(
"The fedex 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)
update_interval = config.get(CONF_SCAN_INTERVAL, SCAN_INTERVAL)