1
0
mirror of https://github.com/home-assistant/core.git synced 2025-12-24 04:50:05 +00:00

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
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")