Improve mysensors config_flow typing (#70884)
This commit is contained in:
parent
b4cea96c21
commit
613d49fa19
1 changed files with 1 additions and 1 deletions
|
@ -309,7 +309,7 @@ class MySensorsConfigFlowHandler(config_entries.ConfigFlow, domain=DOMAIN):
|
|||
|
||||
try:
|
||||
await self.hass.async_add_executor_job(
|
||||
verification_func, user_input.get(CONF_DEVICE)
|
||||
verification_func, user_input[CONF_DEVICE]
|
||||
)
|
||||
except vol.Invalid:
|
||||
errors[CONF_DEVICE] = (
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue