diff --git a/homeassistant/components/media_player/denon.py b/homeassistant/components/media_player/denon.py index 121fb6ae8b8..45e4cd2514e 100644 --- a/homeassistant/components/media_player/denon.py +++ b/homeassistant/components/media_player/denon.py @@ -72,7 +72,7 @@ class DenonDevice(MediaPlayerDevice): """Get the latest details from the device.""" try: telnet = telnetlib.Telnet(self._host) - except ConnectionRefusedError: + except (ConnectionRefusedError, OSError): return False self._pwstate = self.telnet_request(telnet, 'PW?')