From 0d4af6fb1e131e32cd96a949283403deb6689ab6 Mon Sep 17 00:00:00 2001 From: Jan Bouwhuis Date: Tue, 6 Jun 2023 16:02:46 +0200 Subject: [PATCH] Stale doc string for mqtt light async_setup_entry (#94109) --- homeassistant/components/mqtt/light/__init__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/homeassistant/components/mqtt/light/__init__.py b/homeassistant/components/mqtt/light/__init__.py index 5cd42ef1934..2c70490ac5e 100644 --- a/homeassistant/components/mqtt/light/__init__.py +++ b/homeassistant/components/mqtt/light/__init__.py @@ -69,7 +69,7 @@ async def async_setup_entry( config_entry: ConfigEntry, async_add_entities: AddEntitiesCallback, ) -> None: - """Set up MQTT lights configured under the light platform key (deprecated).""" + """Set up MQTT lights through YAML and through MQTT discovery.""" setup = functools.partial( _async_setup_entity, hass, async_add_entities, config_entry=config_entry )