mirror of
https://github.com/home-assistant/core.git
synced 2025-07-27 15:17:35 +00:00
Bump notifications-android-tv to 0.1.5 (#68599)
This commit is contained in:
parent
365ea59b64
commit
7e40594748
@ -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.3"],
|
"requirements": ["notifications-android-tv==0.1.5"],
|
||||||
"codeowners": ["@tkdrob"],
|
"codeowners": ["@tkdrob"],
|
||||||
"config_flow": true,
|
"config_flow": true,
|
||||||
"iot_class": "local_push",
|
"iot_class": "local_push",
|
||||||
|
@ -1,8 +1,9 @@
|
|||||||
"""Notifications for Android TV notification service."""
|
"""Notifications for Android TV notification service."""
|
||||||
from __future__ import annotations
|
from __future__ import annotations
|
||||||
|
|
||||||
|
from io import BufferedReader
|
||||||
import logging
|
import logging
|
||||||
from typing import Any, BinaryIO
|
from typing import Any
|
||||||
|
|
||||||
from notifications_android_tv import Notifications
|
from notifications_android_tv import Notifications
|
||||||
import requests
|
import requests
|
||||||
@ -116,7 +117,7 @@ class NFAndroidTVNotificationService(BaseNotificationService):
|
|||||||
position = None
|
position = None
|
||||||
transparency = None
|
transparency = None
|
||||||
bkgcolor = None
|
bkgcolor = None
|
||||||
interrupt = None
|
interrupt = False
|
||||||
icon = None
|
icon = None
|
||||||
image_file = None
|
image_file = None
|
||||||
if data:
|
if data:
|
||||||
@ -203,7 +204,7 @@ class NFAndroidTVNotificationService(BaseNotificationService):
|
|||||||
username: str | None = None,
|
username: str | None = None,
|
||||||
password: str | None = None,
|
password: str | None = None,
|
||||||
auth: str | None = None,
|
auth: str | None = None,
|
||||||
) -> bytes | BinaryIO | None:
|
) -> BufferedReader | bytes | None:
|
||||||
"""Load image/document/etc from a local path or URL."""
|
"""Load image/document/etc from a local path or URL."""
|
||||||
try:
|
try:
|
||||||
if url is not None:
|
if url is not None:
|
||||||
|
@ -1076,7 +1076,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.3
|
notifications-android-tv==0.1.5
|
||||||
|
|
||||||
# homeassistant.components.notify_events
|
# homeassistant.components.notify_events
|
||||||
notify-events==1.0.4
|
notify-events==1.0.4
|
||||||
|
@ -715,7 +715,7 @@ nettigo-air-monitor==1.2.1
|
|||||||
nexia==0.9.13
|
nexia==0.9.13
|
||||||
|
|
||||||
# homeassistant.components.nfandroidtv
|
# homeassistant.components.nfandroidtv
|
||||||
notifications-android-tv==0.1.3
|
notifications-android-tv==0.1.5
|
||||||
|
|
||||||
# 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