Bump pyatv to 0.3.5 (#9586)
parent
475f6f5f82
commit
9d839f1f53
homeassistant/components
media_player
|
@ -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__)
|
||||
|
||||
|
|
|
@ -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:
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue