mirror of
https://github.com/home-assistant/core.git
synced 2025-12-24 21:06:19 +00:00
Add type ignore error codes [core] (#66773)
This commit is contained in:
@@ -1213,7 +1213,7 @@ class ConfigFlow(data_entry_flow.FlowHandler):
|
||||
match_dict = {} # Match any entry
|
||||
for entry in self._async_current_entries(include_ignore=False):
|
||||
if all(
|
||||
item in ChainMap(entry.options, entry.data).items() # type: ignore
|
||||
item in ChainMap(entry.options, entry.data).items() # type: ignore[arg-type]
|
||||
for item in match_dict.items()
|
||||
):
|
||||
raise data_entry_flow.AbortFlow("already_configured")
|
||||
|
||||
Reference in New Issue
Block a user