mirror of
https://github.com/home-assistant/core.git
synced 2025-07-22 04:37:06 +00:00
Deprecates srp_energy integration (ADR-0004) (#25754)
This commit is contained in:
parent
84f464d089
commit
07499faa9c
@ -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]
|
||||
|
Loading…
x
Reference in New Issue
Block a user