Deprecate Lyft integration (#53005)

pull/53014/head
Franck Nijhof 2021-07-14 12:07:00 +02:00 committed by GitHub
parent ddc788bf8e
commit 8c36f5c627
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 4 additions and 0 deletions

View File

@ -39,6 +39,10 @@ PLATFORM_SCHEMA = PLATFORM_SCHEMA.extend(
def setup_platform(hass, config, add_entities, discovery_info=None):
"""Set up the Lyft sensor."""
_LOGGER.warning(
"The Lyft integration has been deprecated and will be removed in "
"Home Assistant Core 2021.10"
)
auth_flow = ClientCredentialGrant(
client_id=config.get(CONF_CLIENT_ID),