Add missing return type to some test functions (#119665)

This commit is contained in:
epenet 2024-06-14 08:26:45 +02:00 committed by GitHub
parent 26e21bb356
commit 38a6e666a7
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
15 changed files with 20 additions and 18 deletions

View file

@ -901,7 +901,7 @@ class MockEntityPlatform(entity_platform.EntityPlatform):
platform=None,
scan_interval=timedelta(seconds=15),
entity_namespace=None,
):
) -> None:
"""Initialize a mock entity platform."""
if logger is None:
logger = logging.getLogger("homeassistant.helpers.entity_platform")