Skip to content

Commit

Permalink
Bump notifications-android-tv to 0.1.3 (home-assistant#54462)
Browse files Browse the repository at this point in the history
Co-authored-by: Martin Hjelmare <[email protected]>
  • Loading branch information
tkdrob and MartinHjelmare authored Aug 11, 2021
1 parent 6285c77 commit b1fc054
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 9 deletions.
7 changes: 1 addition & 6 deletions homeassistant/components/nfandroidtv/__init__.py
Original file line number Diff line number Diff line change
@@ -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
Expand All @@ -12,8 +10,6 @@

from .const import DOMAIN

_LOGGER = logging.getLogger(__name__)

PLATFORMS = [NOTIFY]


Expand Down Expand Up @@ -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] = {
Expand Down
2 changes: 1 addition & 1 deletion homeassistant/components/nfandroidtv/manifest.json
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down
2 changes: 1 addition & 1 deletion requirements_all.txt
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion requirements_test_all.txt
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit b1fc054

Please sign in to comment.