mirror of
https://github.com/home-assistant/core.git
synced 2025-11-08 10:29:27 +00:00
Add missing return type in test __init__ method (part 4) (#123947)
This commit is contained in:
@@ -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)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user