mirror of
https://github.com/home-assistant/core.git
synced 2025-07-23 21:27:38 +00:00
Deprecates fedex integration (ADR-0004) (#25745)
This commit is contained in:
parent
b696f9ce5e
commit
84f464d089
@ -44,6 +44,12 @@ def setup_platform(hass, config, add_entities, discovery_info=None):
|
|||||||
"""Set up the Fedex platform."""
|
"""Set up the Fedex platform."""
|
||||||
import fedexdeliverymanager
|
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)
|
name = config.get(CONF_NAME)
|
||||||
update_interval = config.get(CONF_SCAN_INTERVAL, SCAN_INTERVAL)
|
update_interval = config.get(CONF_SCAN_INTERVAL, SCAN_INTERVAL)
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user