diff --git a/homeassistant/components/ups/sensor.py b/homeassistant/components/ups/sensor.py index 0fff07d442f..cfe35a9a63f 100644 --- a/homeassistant/components/ups/sensor.py +++ b/homeassistant/components/ups/sensor.py @@ -40,6 +40,12 @@ def setup_platform(hass, config, add_entities, discovery_info=None): """Set up the UPS platform.""" import upsmychoice + _LOGGER.warning( + "The ups 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" + ) + try: cookie = hass.config.path(COOKIE) session = upsmychoice.get_session(