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

Namespaces

 browse_media
 
 config_flow
 
 const
 
 device_trigger
 
 media_player
 
 notify
 

Functions

bool async_setup_entry (HomeAssistant hass, ConfigEntry entry)
 
bool async_unload_entry (HomeAssistant hass, ConfigEntry entry)
 

Variables

 _LOGGER = logging.getLogger(__name__)
 
list PLATFORMS = [Platform.MEDIA_PLAYER]
 

Detailed Description

The kodi component.

Function Documentation

◆ async_setup_entry()

bool homeassistant.components.kodi.async_setup_entry ( HomeAssistant  hass,
ConfigEntry  entry 
)
Set up Kodi from a config entry.

Definition at line 32 of file __init__.py.

◆ async_unload_entry()

bool homeassistant.components.kodi.async_unload_entry ( HomeAssistant  hass,
ConfigEntry  entry 
)
Unload a config entry.

Definition at line 75 of file __init__.py.

Variable Documentation

◆ _LOGGER

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

Definition at line 28 of file __init__.py.

◆ PLATFORMS

list homeassistant.components.kodi.PLATFORMS = [Platform.MEDIA_PLAYER]

Definition at line 29 of file __init__.py.