Add type code that is being ignored (#67311)

This commit is contained in:
Paulus Schoutsen 2022-02-26 13:56:47 -08:00 committed by GitHub
parent 9920b3eef5
commit 7f4faafe38
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -600,7 +600,7 @@ async def handle_validate_config(
continue
try:
await validator(hass, schema(msg[key])) # type: ignore
await validator(hass, schema(msg[key])) # type: ignore[operator]
except vol.Invalid as err:
result[key] = {"valid": False, "error": str(err)}
else: