mirror of
https://github.com/home-assistant/core.git
synced 2025-07-19 03:07:37 +00:00
Bump notifications-android-tv to 0.1.3 (#54462)
Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
This commit is contained in:
parent
6285c7775b
commit
b1fc05413a
@ -1,6 +1,4 @@
|
|||||||
"""The NFAndroidTV integration."""
|
"""The NFAndroidTV integration."""
|
||||||
import logging
|
|
||||||
|
|
||||||
from notifications_android_tv.notifications import ConnectError, Notifications
|
from notifications_android_tv.notifications import ConnectError, Notifications
|
||||||
|
|
||||||
from homeassistant.components.notify import DOMAIN as NOTIFY
|
from homeassistant.components.notify import DOMAIN as NOTIFY
|
||||||
@ -12,8 +10,6 @@ from homeassistant.helpers import discovery
|
|||||||
|
|
||||||
from .const import DOMAIN
|
from .const import DOMAIN
|
||||||
|
|
||||||
_LOGGER = logging.getLogger(__name__)
|
|
||||||
|
|
||||||
PLATFORMS = [NOTIFY]
|
PLATFORMS = [NOTIFY]
|
||||||
|
|
||||||
|
|
||||||
@ -41,8 +37,7 @@ async def async_setup_entry(hass: HomeAssistant, entry: ConfigEntry) -> bool:
|
|||||||
try:
|
try:
|
||||||
await hass.async_add_executor_job(Notifications, host)
|
await hass.async_add_executor_job(Notifications, host)
|
||||||
except ConnectError as ex:
|
except ConnectError as ex:
|
||||||
_LOGGER.warning("Failed to connect: %s", ex)
|
raise ConfigEntryNotReady("Failed to connect") from ex
|
||||||
raise ConfigEntryNotReady from ex
|
|
||||||
|
|
||||||
hass.data.setdefault(DOMAIN, {})
|
hass.data.setdefault(DOMAIN, {})
|
||||||
hass.data[DOMAIN][entry.entry_id] = {
|
hass.data[DOMAIN][entry.entry_id] = {
|
||||||
|
@ -2,7 +2,7 @@
|
|||||||
"domain": "nfandroidtv",
|
"domain": "nfandroidtv",
|
||||||
"name": "Notifications for Android TV / Fire TV",
|
"name": "Notifications for Android TV / Fire TV",
|
||||||
"documentation": "https://www.home-assistant.io/integrations/nfandroidtv",
|
"documentation": "https://www.home-assistant.io/integrations/nfandroidtv",
|
||||||
"requirements": ["notifications-android-tv==0.1.2"],
|
"requirements": ["notifications-android-tv==0.1.3"],
|
||||||
"codeowners": ["@tkdrob"],
|
"codeowners": ["@tkdrob"],
|
||||||
"config_flow": true,
|
"config_flow": true,
|
||||||
"iot_class": "local_push"
|
"iot_class": "local_push"
|
||||||
|
@ -1041,7 +1041,7 @@ niluclient==0.1.2
|
|||||||
noaa-coops==0.1.8
|
noaa-coops==0.1.8
|
||||||
|
|
||||||
# homeassistant.components.nfandroidtv
|
# homeassistant.components.nfandroidtv
|
||||||
notifications-android-tv==0.1.2
|
notifications-android-tv==0.1.3
|
||||||
|
|
||||||
# homeassistant.components.notify_events
|
# homeassistant.components.notify_events
|
||||||
notify-events==1.0.4
|
notify-events==1.0.4
|
||||||
|
@ -582,7 +582,7 @@ nettigo-air-monitor==1.0.0
|
|||||||
nexia==0.9.11
|
nexia==0.9.11
|
||||||
|
|
||||||
# homeassistant.components.nfandroidtv
|
# homeassistant.components.nfandroidtv
|
||||||
notifications-android-tv==0.1.2
|
notifications-android-tv==0.1.3
|
||||||
|
|
||||||
# homeassistant.components.notify_events
|
# homeassistant.components.notify_events
|
||||||
notify-events==1.0.4
|
notify-events==1.0.4
|
||||||
|
Loading…
x
Reference in New Issue
Block a user