Bump pyatv to 0.3.5 (#9586)

This commit is contained in:
Pierre Ståhl 2017-09-26 21:01:17 +02:00 committed by Fabian Affolter
parent 475f6f5f82
commit 9d839f1f53
3 changed files with 4 additions and 3 deletions

View File

@ -18,7 +18,7 @@ from homeassistant.helpers import discovery
from homeassistant.components.discovery import SERVICE_APPLE_TV
import homeassistant.helpers.config_validation as cv
REQUIREMENTS = ['pyatv==0.3.4']
REQUIREMENTS = ['pyatv==0.3.5']
_LOGGER = logging.getLogger(__name__)

View File

@ -96,7 +96,8 @@ class AppleTvDevice(MediaPlayerDevice):
if self._playing:
from pyatv import const
state = self._playing.play_state
if state == const.PLAY_STATE_NO_MEDIA or \
if state == const.PLAY_STATE_IDLE or \
state == const.PLAY_STATE_NO_MEDIA or \
state == const.PLAY_STATE_LOADING:
return STATE_IDLE
elif state == const.PLAY_STATE_PLAYING:

View File

@ -567,7 +567,7 @@ pyasn1-modules==0.1.4
pyasn1==0.3.6
# homeassistant.components.apple_tv
pyatv==0.3.4
pyatv==0.3.5
# homeassistant.components.device_tracker.bbox
# homeassistant.components.sensor.bbox