diff --git a/homeassistant/components/srp_energy/sensor.py b/homeassistant/components/srp_energy/sensor.py index 56d8fcdb4b6..a9873c76afe 100644 --- a/homeassistant/components/srp_energy/sensor.py +++ b/homeassistant/components/srp_energy/sensor.py @@ -43,6 +43,12 @@ PLATFORM_SCHEMA = PLATFORM_SCHEMA.extend( def setup_platform(hass, config, add_entities, discovery_info=None): """Set up the SRP energy.""" + _LOGGER.warning( + "The srp_energy 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[CONF_NAME] username = config[CONF_USERNAME] password = config[CONF_PASSWORD]