Update typing (3) [k-t] (#63924)

This commit is contained in:
Marc Mueller 2022-01-11 21:26:55 +01:00 committed by GitHub
parent bcb93d95bb
commit fa7e787415
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
12 changed files with 28 additions and 28 deletions

View file

@ -1,7 +1,7 @@
"""Config flow for motionEye integration."""
from __future__ import annotations
from typing import Any, Dict, cast
from typing import Any, cast
from motioneye_client.client import (
MotionEyeClientConnectionError,
@ -94,7 +94,7 @@ class MotionEyeConfigFlow(ConfigFlow, domain=DOMAIN):
if user_input is None:
return _get_form(
cast(Dict[str, Any], reauth_entry.data) if reauth_entry else {}
cast(dict[str, Any], reauth_entry.data) if reauth_entry else {}
)
if self._hassio_discovery: