Bump notifications-android-tv to 0.1.3 (#54462)

Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
pull/54478/head
Robert Hillis 2021-08-11 10:13:38 -04:00 committed by GitHub
parent 6285c7775b
commit b1fc05413a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
4 changed files with 4 additions and 9 deletions

View File

@ -1,6 +1,4 @@
"""The NFAndroidTV integration."""
import logging
from notifications_android_tv.notifications import ConnectError, Notifications
from homeassistant.components.notify import DOMAIN as NOTIFY
@ -12,8 +10,6 @@ from homeassistant.helpers import discovery
from .const import DOMAIN
_LOGGER = logging.getLogger(__name__)
PLATFORMS = [NOTIFY]
@ -41,8 +37,7 @@ async def async_setup_entry(hass: HomeAssistant, entry: ConfigEntry) -> bool:
try:
await hass.async_add_executor_job(Notifications, host)
except ConnectError as ex:
_LOGGER.warning("Failed to connect: %s", ex)
raise ConfigEntryNotReady from ex
raise ConfigEntryNotReady("Failed to connect") from ex
hass.data.setdefault(DOMAIN, {})
hass.data[DOMAIN][entry.entry_id] = {

View File

@ -2,7 +2,7 @@
"domain": "nfandroidtv",
"name": "Notifications for Android TV / Fire TV",
"documentation": "https://www.home-assistant.io/integrations/nfandroidtv",
"requirements": ["notifications-android-tv==0.1.2"],
"requirements": ["notifications-android-tv==0.1.3"],
"codeowners": ["@tkdrob"],
"config_flow": true,
"iot_class": "local_push"

View File

@ -1041,7 +1041,7 @@ niluclient==0.1.2
noaa-coops==0.1.8
# homeassistant.components.nfandroidtv
notifications-android-tv==0.1.2
notifications-android-tv==0.1.3
# homeassistant.components.notify_events
notify-events==1.0.4

View File

@ -582,7 +582,7 @@ nettigo-air-monitor==1.0.0
nexia==0.9.11
# homeassistant.components.nfandroidtv
notifications-android-tv==0.1.2
notifications-android-tv==0.1.3
# homeassistant.components.notify_events
notify-events==1.0.4