diff --git a/homeassistant/components/vlc_telnet/media_player.py b/homeassistant/components/vlc_telnet/media_player.py index 6b53a2c3470..11c96cf9933 100644 --- a/homeassistant/components/vlc_telnet/media_player.py +++ b/homeassistant/components/vlc_telnet/media_player.py @@ -74,7 +74,7 @@ def catch_vlc_errors( """Catch VLC errors.""" @wraps(func) - async def wrapper(self: VlcDevice, *args: _P.args, **kwargs: _P.kwargs) -> None: + async def wrapper(self: _T, *args: _P.args, **kwargs: _P.kwargs) -> None: """Catch VLC errors and modify availability.""" try: await func(self, *args, **kwargs)