Skip to content

Commit c8c6edd

Browse files
tl-slballoob
authored andcommitted
Simplify config entry title for SMLIGHT (#137206)
1 parent ddb40cb commit c8c6edd

File tree

1 file changed

+1
-5
lines changed

1 file changed

+1
-5
lines changed

homeassistant/components/smlight/config_flow.py

+1-5
Original file line numberDiff line numberDiff line change
@@ -217,9 +217,5 @@ async def _async_complete_entry(
217217
user_input[CONF_HOST] = self._host
218218

219219
assert info.model is not None
220-
title = (
221-
self.context.get("title_placeholders", {}).get(CONF_NAME)
222-
or self._device_name
223-
or info.model
224-
)
220+
title = self._device_name or info.model
225221
return self.async_create_entry(title=title, data=user_input)

0 commit comments

Comments
 (0)