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

@@ -254,7 +254,7 @@ class MockLight(MockToggleEntity, LightEntity):
state,
unique_id=None,
supported_color_modes: set[ColorMode] | None = None,
):
) -> None:
"""Initialize the mock light."""
super().__init__(name, state, unique_id)
if supported_color_modes is None: