|
| None | __init__ (self, Notifications notify, Any is_allowed_path) |
| |
| BufferedReader|bytes|None | load_file (self, str|None url=None, str|None local_path=None, str|None username=None, str|None password=None, str|None auth=None) |
| |
| None | send_message (self, str message, **Any kwargs) |
| |
Notification service for Notifications for Android TV.
Definition at line 69 of file notify.py.
◆ __init__()
| None homeassistant.components.nfandroidtv.notify.NFAndroidTVNotificationService.__init__ |
( |
|
self, |
|
|
Notifications |
notify, |
|
|
Any |
is_allowed_path |
|
) |
| |
Initialize the service.
Definition at line 72 of file notify.py.
◆ load_file()
| BufferedReader | bytes | None homeassistant.components.nfandroidtv.notify.NFAndroidTVNotificationService.load_file |
( |
|
self, |
|
|
str | None |
url = None, |
|
|
str | None |
local_path = None, |
|
|
str | None |
username = None, |
|
|
str | None |
password = None, |
|
|
str | None |
auth = None |
|
) |
| |
Load image/document/etc from a local path or URL.
Definition at line 194 of file notify.py.
◆ send_message()
| None homeassistant.components.nfandroidtv.notify.NFAndroidTVNotificationService.send_message |
( |
|
self, |
|
|
str |
message, |
|
|
**Any |
kwargs |
|
) |
| |
Send a message to a Android TV device.
Definition at line 81 of file notify.py.
◆ is_allowed_path
| homeassistant.components.nfandroidtv.notify.NFAndroidTVNotificationService.is_allowed_path |
◆ notify
| homeassistant.components.nfandroidtv.notify.NFAndroidTVNotificationService.notify |
The documentation for this class was generated from the following file:
- core/homeassistant/components/nfandroidtv/notify.py