mirror of
https://github.com/home-assistant/core.git
synced 2025-07-15 09:17:10 +00:00
Bump pyatv to 0.3.5 (#9586)
This commit is contained in:
parent
475f6f5f82
commit
9d839f1f53
@ -18,7 +18,7 @@ from homeassistant.helpers import discovery
|
|||||||
from homeassistant.components.discovery import SERVICE_APPLE_TV
|
from homeassistant.components.discovery import SERVICE_APPLE_TV
|
||||||
import homeassistant.helpers.config_validation as cv
|
import homeassistant.helpers.config_validation as cv
|
||||||
|
|
||||||
REQUIREMENTS = ['pyatv==0.3.4']
|
REQUIREMENTS = ['pyatv==0.3.5']
|
||||||
|
|
||||||
_LOGGER = logging.getLogger(__name__)
|
_LOGGER = logging.getLogger(__name__)
|
||||||
|
|
||||||
|
@ -96,7 +96,8 @@ class AppleTvDevice(MediaPlayerDevice):
|
|||||||
if self._playing:
|
if self._playing:
|
||||||
from pyatv import const
|
from pyatv import const
|
||||||
state = self._playing.play_state
|
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:
|
state == const.PLAY_STATE_LOADING:
|
||||||
return STATE_IDLE
|
return STATE_IDLE
|
||||||
elif state == const.PLAY_STATE_PLAYING:
|
elif state == const.PLAY_STATE_PLAYING:
|
||||||
|
@ -567,7 +567,7 @@ pyasn1-modules==0.1.4
|
|||||||
pyasn1==0.3.6
|
pyasn1==0.3.6
|
||||||
|
|
||||||
# homeassistant.components.apple_tv
|
# homeassistant.components.apple_tv
|
||||||
pyatv==0.3.4
|
pyatv==0.3.5
|
||||||
|
|
||||||
# homeassistant.components.device_tracker.bbox
|
# homeassistant.components.device_tracker.bbox
|
||||||
# homeassistant.components.sensor.bbox
|
# homeassistant.components.sensor.bbox
|
||||||
|
Loading…
x
Reference in New Issue
Block a user