From 8c36f5c62721e04dc1d3e9ba07a16738d2cfa8ca Mon Sep 17 00:00:00 2001 From: Franck Nijhof Date: Wed, 14 Jul 2021 12:07:00 +0200 Subject: [PATCH] Deprecate Lyft integration (#53005) --- homeassistant/components/lyft/sensor.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/homeassistant/components/lyft/sensor.py b/homeassistant/components/lyft/sensor.py index c979231a216..39cfff38a1b 100644 --- a/homeassistant/components/lyft/sensor.py +++ b/homeassistant/components/lyft/sensor.py @@ -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),