Add missing return type in test __init__ method (part 4) (#123947)

This commit is contained in:
epenet
2024-08-16 10:26:12 +02:00
committed by GitHub
parent f9ade788eb
commit 66a8733333
4 changed files with 28 additions and 14 deletions

View File

@@ -54,7 +54,12 @@ def async_restart(hass, entity_id=None):
class MockFFmpegDev(ffmpeg.FFmpegBase):
"""FFmpeg device mock."""
def __init__(self, hass, initial_state=True, entity_id="test.ffmpeg_device"):
def __init__(
self,
hass: HomeAssistant,
initial_state: bool = True,
entity_id: str = "test.ffmpeg_device",
) -> None:
"""Initialize mock."""
super().__init__(None, initial_state)