mirror of
https://github.com/home-assistant/core.git
synced 2025-11-15 22:10:09 +00:00
Add missing return type to some test functions (#119665)
This commit is contained in:
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user