Skip to content

Commit

Permalink
Deprecates srp_energy integration (ADR-0004) (#25754)
Browse files Browse the repository at this point in the history
  • Loading branch information
frenck authored and pvizeli committed Aug 7, 2019
1 parent 84f464d commit 07499fa
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions homeassistant/components/srp_energy/sensor.py
Expand Up @@ -43,6 +43,12 @@

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]
Expand Down

0 comments on commit 07499fa

Please sign in to comment.