Add type code that is being ignored (#67311)
This commit is contained in:
parent
9920b3eef5
commit
7f4faafe38
1 changed files with 1 additions and 1 deletions
|
@ -600,7 +600,7 @@ async def handle_validate_config(
|
||||||
continue
|
continue
|
||||||
|
|
||||||
try:
|
try:
|
||||||
await validator(hass, schema(msg[key])) # type: ignore
|
await validator(hass, schema(msg[key])) # type: ignore[operator]
|
||||||
except vol.Invalid as err:
|
except vol.Invalid as err:
|
||||||
result[key] = {"valid": False, "error": str(err)}
|
result[key] = {"valid": False, "error": str(err)}
|
||||||
else:
|
else:
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue