mirror of
https://github.com/home-assistant/core.git
synced 2025-07-22 12:47:08 +00:00
Bump pyatv to 0.7.7 (#47798)
* Bump pyatv to 0.7.7 * Change to assume name always exist in config entry
This commit is contained in:
parent
514516bacc
commit
bf5028df2b
@ -181,7 +181,7 @@ class AppleTVManager:
|
||||
This is a callback function from pyatv.interface.DeviceListener.
|
||||
"""
|
||||
_LOGGER.warning(
|
||||
'Connection lost to Apple TV "%s"', self.config_entry.data.get(CONF_NAME)
|
||||
'Connection lost to Apple TV "%s"', self.config_entry.data[CONF_NAME]
|
||||
)
|
||||
self._connection_was_lost = True
|
||||
self._handle_disconnect()
|
||||
@ -268,7 +268,7 @@ class AppleTVManager:
|
||||
"""Problem to authenticate occurred that needs intervention."""
|
||||
_LOGGER.debug("Authentication error, reconfigure integration")
|
||||
|
||||
name = self.config_entry.data.get(CONF_NAME)
|
||||
name = self.config_entry.data[CONF_NAME]
|
||||
identifier = self.config_entry.unique_id
|
||||
|
||||
self.hass.components.persistent_notification.create(
|
||||
@ -337,7 +337,8 @@ class AppleTVManager:
|
||||
self._connection_attempts = 0
|
||||
if self._connection_was_lost:
|
||||
_LOGGER.info(
|
||||
'Connection was re-established to Apple TV "%s"', self.atv.service.name
|
||||
'Connection was re-established to Apple TV "%s"',
|
||||
self.config_entry.data[CONF_NAME],
|
||||
)
|
||||
self._connection_was_lost = False
|
||||
|
||||
|
@ -4,7 +4,7 @@
|
||||
"config_flow": true,
|
||||
"documentation": "https://www.home-assistant.io/integrations/apple_tv",
|
||||
"requirements": [
|
||||
"pyatv==0.7.6"
|
||||
"pyatv==0.7.7"
|
||||
],
|
||||
"zeroconf": [
|
||||
"_mediaremotetv._tcp.local.",
|
||||
|
@ -1278,7 +1278,7 @@ pyatmo==4.2.2
|
||||
pyatome==0.1.1
|
||||
|
||||
# homeassistant.components.apple_tv
|
||||
pyatv==0.7.6
|
||||
pyatv==0.7.7
|
||||
|
||||
# homeassistant.components.bbox
|
||||
pybbox==0.0.5-alpha
|
||||
|
@ -673,7 +673,7 @@ pyatag==0.3.5.3
|
||||
pyatmo==4.2.2
|
||||
|
||||
# homeassistant.components.apple_tv
|
||||
pyatv==0.7.6
|
||||
pyatv==0.7.7
|
||||
|
||||
# homeassistant.components.blackbird
|
||||
pyblackbird==0.5
|
||||
|
Loading…
x
Reference in New Issue
Block a user