Adjust type hints in ezviz config_flow (#127186)

This commit is contained in:
epenet 2024-10-01 12:26:59 +02:00 committed by GitHub
parent 3052eca564
commit 57905efcd3
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -96,6 +96,7 @@ class EzvizConfigFlow(ConfigFlow, domain=DOMAIN):
ip_address: str ip_address: str
username: str | None username: str | None
password: str | None password: str | None
unique_id: str
async def _validate_and_create_camera_rtsp(self, data: dict) -> ConfigFlowResult: async def _validate_and_create_camera_rtsp(self, data: dict) -> ConfigFlowResult:
"""Try DESCRIBE on RTSP camera with credentials.""" """Try DESCRIBE on RTSP camera with credentials."""