mirror of
https://github.com/home-assistant/core.git
synced 2025-07-19 19:27:45 +00:00
issue #3250
This commit is contained in:
parent
1af5d4c8b8
commit
b3d2db45de
@ -72,7 +72,7 @@ class DenonDevice(MediaPlayerDevice):
|
||||
"""Get the latest details from the device."""
|
||||
try:
|
||||
telnet = telnetlib.Telnet(self._host)
|
||||
except (ConnectionRefusedError, OSError):
|
||||
except OSError:
|
||||
return False
|
||||
|
||||
self._pwstate = self.telnet_request(telnet, 'PW?')
|
||||
|
Loading…
x
Reference in New Issue
Block a user