Skip to content

Commit

Permalink
use aiokef 0.1.8 and catch TimeoutError
Browse files Browse the repository at this point in the history
  • Loading branch information
basnijholt committed Nov 25, 2019
1 parent d594245 commit 205e552
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion homeassistant/components/kef/manifest.json
Expand Up @@ -4,5 +4,5 @@
"documentation": "https://www.home-assistant.io/integrations/kef",
"dependencies": [],
"codeowners": ["@basnijholt"],
"requirements": ["aiokef==0.1.3"]
"requirements": ["aiokef==0.1.8"]
}
2 changes: 1 addition & 1 deletion homeassistant/components/kef/media_player.py
Expand Up @@ -144,7 +144,7 @@ async def async_update(self):
self._source = None
self._volume = None
self._state = STATE_OFF
except (ConnectionRefusedError, ConnectionError) as err:
except (ConnectionRefusedError, ConnectionError, TimeoutError) as err:
_LOGGER.debug("Error in `update`: %s", err)
self._state = STATE_UNKNOWN

Expand Down
2 changes: 1 addition & 1 deletion requirements_all.txt
Expand Up @@ -170,7 +170,7 @@ aioimaplib==0.7.15
aiokafka==0.5.1

# homeassistant.components.kef
aiokef==0.1.3
aiokef==0.1.8

# homeassistant.components.lifx
aiolifx==0.6.7
Expand Down

0 comments on commit 205e552

Please sign in to comment.