Home Assistant Unofficial Reference 2024.12.1
homeassistant.components.nfandroidtv.notify.NFAndroidTVNotificationService Class Reference
Inheritance diagram for homeassistant.components.nfandroidtv.notify.NFAndroidTVNotificationService:
[legend]
Collaboration diagram for homeassistant.components.nfandroidtv.notify.NFAndroidTVNotificationService:
[legend]

Public Member Functions

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)
 

Public Attributes

 is_allowed_path
 
 notify
 

Detailed Description

Notification service for Notifications for Android TV.

Definition at line 69 of file notify.py.

Constructor & Destructor Documentation

◆ __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.

Member Function Documentation

◆ 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.

Member Data Documentation

◆ is_allowed_path

homeassistant.components.nfandroidtv.notify.NFAndroidTVNotificationService.is_allowed_path

Definition at line 79 of file notify.py.

◆ notify

homeassistant.components.nfandroidtv.notify.NFAndroidTVNotificationService.notify

Definition at line 78 of file notify.py.


The documentation for this class was generated from the following file: