Home Assistant Unofficial Reference 2024.12.1
homeassistant.components.kodi.notify Namespace Reference

Classes

class  KodiNotificationService
 

Functions

KodiNotificationService async_get_service (HomeAssistant hass, ConfigType config, DiscoveryInfoType|None discovery_info=None)
 

Variables

 _LOGGER = logging.getLogger(__name__)
 
string ATTR_DISPLAYTIME = "displaytime"
 
int DEFAULT_PORT = 8080
 
bool DEFAULT_PROXY_SSL = False
 
int DEFAULT_TIMEOUT = 5
 
 PLATFORM_SCHEMA
 

Detailed Description

Kodi notification service.

Function Documentation

◆ async_get_service()

KodiNotificationService homeassistant.components.kodi.notify.async_get_service ( HomeAssistant  hass,
ConfigType  config,
DiscoveryInfoType | None   discovery_info = None 
)
Return the notify service.

Definition at line 50 of file notify.py.

Variable Documentation

◆ _LOGGER

homeassistant.components.kodi.notify._LOGGER = logging.getLogger(__name__)
private

Definition at line 31 of file notify.py.

◆ ATTR_DISPLAYTIME

string homeassistant.components.kodi.notify.ATTR_DISPLAYTIME = "displaytime"

Definition at line 47 of file notify.py.

◆ DEFAULT_PORT

int homeassistant.components.kodi.notify.DEFAULT_PORT = 8080

Definition at line 33 of file notify.py.

◆ DEFAULT_PROXY_SSL

bool homeassistant.components.kodi.notify.DEFAULT_PROXY_SSL = False

Definition at line 34 of file notify.py.

◆ DEFAULT_TIMEOUT

int homeassistant.components.kodi.notify.DEFAULT_TIMEOUT = 5

Definition at line 35 of file notify.py.

◆ PLATFORM_SCHEMA

homeassistant.components.kodi.notify.PLATFORM_SCHEMA
Initial value:
1 = NOTIFY_PLATFORM_SCHEMA.extend(
2  {
3  vol.Required(CONF_HOST): cv.string,
4  vol.Optional(CONF_PORT, default=DEFAULT_PORT): cv.port,
5  vol.Optional(CONF_PROXY_SSL, default=DEFAULT_PROXY_SSL): cv.boolean,
6  vol.Inclusive(CONF_USERNAME, "auth"): cv.string,
7  vol.Inclusive(CONF_PASSWORD, "auth"): cv.string,
8  }
9 )

Definition at line 37 of file notify.py.