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

Public Member Functions

def __init__ (self, hass, url, auth=None)
 
def async_send_message (self, message="", **kwargs)
 

Private Attributes

 _server
 
 _url
 

Detailed Description

Implement the notification service for Kodi.

Definition at line 82 of file notify.py.

Constructor & Destructor Documentation

◆ __init__()

def homeassistant.components.kodi.notify.KodiNotificationService.__init__ (   self,
  hass,
  url,
  auth = None 
)
Initialize the service.

Definition at line 85 of file notify.py.

Member Function Documentation

◆ async_send_message()

def homeassistant.components.kodi.notify.KodiNotificationService.async_send_message (   self,
  message = "",
**  kwargs 
)
Send a message to Kodi.

Definition at line 96 of file notify.py.

Member Data Documentation

◆ _server

homeassistant.components.kodi.notify.KodiNotificationService._server
private

Definition at line 94 of file notify.py.

◆ _url

homeassistant.components.kodi.notify.KodiNotificationService._url
private

Definition at line 87 of file notify.py.


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