forked from home-assistant/core
issue #3250
This commit is contained in:
@@ -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?')
|
||||
|
||||
Reference in New Issue
Block a user