mirror of
https://github.com/home-assistant/core.git
synced 2025-07-23 21:27:38 +00:00
Please mypy (axis). (#49949)
* Please mypy (axis). * Update homeassistant/components/axis/config_flow.py Co-authored-by: Robert Svensson <Kane610@users.noreply.github.com> Co-authored-by: Robert Svensson <Kane610@users.noreply.github.com>
This commit is contained in:
parent
20152313db
commit
60ae230499
@ -156,7 +156,7 @@ class AxisFlowHandler(config_entries.ConfigFlow, domain=AXIS_DOMAIN):
|
|||||||
return await self._process_discovered_device(
|
return await self._process_discovered_device(
|
||||||
{
|
{
|
||||||
CONF_HOST: discovery_info[IP_ADDRESS],
|
CONF_HOST: discovery_info[IP_ADDRESS],
|
||||||
CONF_MAC: format_mac(discovery_info.get(MAC_ADDRESS)),
|
CONF_MAC: format_mac(discovery_info.get(MAC_ADDRESS, "")),
|
||||||
CONF_NAME: discovery_info.get(HOSTNAME),
|
CONF_NAME: discovery_info.get(HOSTNAME),
|
||||||
CONF_PORT: DEFAULT_PORT,
|
CONF_PORT: DEFAULT_PORT,
|
||||||
}
|
}
|
||||||
|
@ -26,7 +26,6 @@ IGNORED_MODULES: Final[list[str]] = [
|
|||||||
"homeassistant.components.atag.*",
|
"homeassistant.components.atag.*",
|
||||||
"homeassistant.components.aurora.*",
|
"homeassistant.components.aurora.*",
|
||||||
"homeassistant.components.awair.*",
|
"homeassistant.components.awair.*",
|
||||||
"homeassistant.components.axis.*",
|
|
||||||
"homeassistant.components.azure_devops.*",
|
"homeassistant.components.azure_devops.*",
|
||||||
"homeassistant.components.azure_event_hub.*",
|
"homeassistant.components.azure_event_hub.*",
|
||||||
"homeassistant.components.blueprint.*",
|
"homeassistant.components.blueprint.*",
|
||||||
|
Loading…
x
Reference in New Issue
Block a user