Remove unused custom flow context key 'name' from wyoming (#127182)

pull/127219/head
Erik Montnemery 2024-10-01 12:25:39 +02:00 committed by GitHub
parent 120f4adf35
commit 3052eca564
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 1 additions and 3 deletions

View File

@ -10,7 +10,7 @@ import voluptuous as vol
from homeassistant.components import hassio, zeroconf
from homeassistant.config_entries import ConfigFlow, ConfigFlowResult
from homeassistant.const import CONF_HOST, CONF_NAME, CONF_PORT
from homeassistant.const import CONF_HOST, CONF_PORT
from .const import DOMAIN
from .data import WyomingService
@ -123,7 +123,6 @@ class WyomingConfigFlow(ConfigFlow, domain=DOMAIN):
await self.async_set_unique_id(unique_id)
self._abort_if_unique_id_configured()
self.context[CONF_NAME] = self._name
self.context["title_placeholders"] = {"name": self._name}
self._service = service

View File

@ -94,7 +94,6 @@
# name: test_zeroconf_discovery
FlowResultSnapshot({
'context': dict({
'name': 'Test Satellite',
'source': 'zeroconf',
'title_placeholders': dict({
'name': 'Test Satellite',