Bump dependency to add PLAY_STATE_STOPPED (#26239)

This commit is contained in:
Matt Schmitt 2019-08-27 15:30:19 -04:00 committed by Andrew Sayre
parent 1f2e0d3949
commit 6525f8704a
3 changed files with 3 additions and 2 deletions

View File

@ -3,7 +3,7 @@
"name": "Apple tv", "name": "Apple tv",
"documentation": "https://www.home-assistant.io/components/apple_tv", "documentation": "https://www.home-assistant.io/components/apple_tv",
"requirements": [ "requirements": [
"pyatv==0.3.12" "pyatv==0.3.13"
], ],
"dependencies": ["configurator"], "dependencies": ["configurator"],
"codeowners": [] "codeowners": []

View File

@ -127,6 +127,7 @@ class AppleTvDevice(MediaPlayerDevice):
const.PLAY_STATE_PAUSED, const.PLAY_STATE_PAUSED,
const.PLAY_STATE_FAST_FORWARD, const.PLAY_STATE_FAST_FORWARD,
const.PLAY_STATE_FAST_BACKWARD, const.PLAY_STATE_FAST_BACKWARD,
const.PLAY_STATE_STOPPED,
): ):
# Catch fast forward/backward here so "play" is default action # Catch fast forward/backward here so "play" is default action
return STATE_PAUSED return STATE_PAUSED

View File

@ -1059,7 +1059,7 @@ pyarlo==0.2.3
pyatmo==2.2.1 pyatmo==2.2.1
# homeassistant.components.apple_tv # homeassistant.components.apple_tv
pyatv==0.3.12 pyatv==0.3.13
# homeassistant.components.bbox # homeassistant.components.bbox
pybbox==0.0.5-alpha pybbox==0.0.5-alpha