mirror of
https://github.com/home-assistant/core.git
synced 2025-07-12 15:57:06 +00:00
Bump pyatv to 0.14.3 (#102196)
This commit is contained in:
parent
4c8a919ca3
commit
fa1df7e334
@ -7,7 +7,7 @@
|
|||||||
"documentation": "https://www.home-assistant.io/integrations/apple_tv",
|
"documentation": "https://www.home-assistant.io/integrations/apple_tv",
|
||||||
"iot_class": "local_push",
|
"iot_class": "local_push",
|
||||||
"loggers": ["pyatv", "srptools"],
|
"loggers": ["pyatv", "srptools"],
|
||||||
"requirements": ["pyatv==0.13.4"],
|
"requirements": ["pyatv==0.14.3"],
|
||||||
"zeroconf": [
|
"zeroconf": [
|
||||||
"_mediaremotetv._tcp.local.",
|
"_mediaremotetv._tcp.local.",
|
||||||
"_companion-link._tcp.local.",
|
"_companion-link._tcp.local.",
|
||||||
|
@ -371,11 +371,15 @@ class AppleTvMediaPlayer(AppleTVEntity, MediaPlayerEntity):
|
|||||||
@property
|
@property
|
||||||
def repeat(self) -> RepeatMode | None:
|
def repeat(self) -> RepeatMode | None:
|
||||||
"""Return current repeat mode."""
|
"""Return current repeat mode."""
|
||||||
if self._playing and self._is_feature_available(FeatureName.Repeat):
|
if (
|
||||||
|
self._playing
|
||||||
|
and self._is_feature_available(FeatureName.Repeat)
|
||||||
|
and (repeat := self._playing.repeat)
|
||||||
|
):
|
||||||
return {
|
return {
|
||||||
RepeatState.Track: RepeatMode.ONE,
|
RepeatState.Track: RepeatMode.ONE,
|
||||||
RepeatState.All: RepeatMode.ALL,
|
RepeatState.All: RepeatMode.ALL,
|
||||||
}.get(self._playing.repeat, RepeatMode.OFF)
|
}.get(repeat, RepeatMode.OFF)
|
||||||
return None
|
return None
|
||||||
|
|
||||||
@property
|
@property
|
||||||
|
@ -1598,7 +1598,7 @@ pyatag==0.3.5.3
|
|||||||
pyatmo==7.5.0
|
pyatmo==7.5.0
|
||||||
|
|
||||||
# homeassistant.components.apple_tv
|
# homeassistant.components.apple_tv
|
||||||
pyatv==0.13.4
|
pyatv==0.14.3
|
||||||
|
|
||||||
# homeassistant.components.aussie_broadband
|
# homeassistant.components.aussie_broadband
|
||||||
pyaussiebb==0.0.15
|
pyaussiebb==0.0.15
|
||||||
|
@ -1216,7 +1216,7 @@ pyatag==0.3.5.3
|
|||||||
pyatmo==7.5.0
|
pyatmo==7.5.0
|
||||||
|
|
||||||
# homeassistant.components.apple_tv
|
# homeassistant.components.apple_tv
|
||||||
pyatv==0.13.4
|
pyatv==0.14.3
|
||||||
|
|
||||||
# homeassistant.components.aussie_broadband
|
# homeassistant.components.aussie_broadband
|
||||||
pyaussiebb==0.0.15
|
pyaussiebb==0.0.15
|
||||||
|
Loading…
x
Reference in New Issue
Block a user