Remove unused custom flow context key 'name' from wyoming (#127182)
parent
120f4adf35
commit
3052eca564
|
@ -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
|
||||
|
|
|
@ -94,7 +94,6 @@
|
|||
# name: test_zeroconf_discovery
|
||||
FlowResultSnapshot({
|
||||
'context': dict({
|
||||
'name': 'Test Satellite',
|
||||
'source': 'zeroconf',
|
||||
'title_placeholders': dict({
|
||||
'name': 'Test Satellite',
|
||||
|
|
Loading…
Reference in New Issue