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

Namespaces

 api
 
 application_credentials
 
 binary_sensor
 
 browse_media
 
 config_flow
 
 const
 
 coordinator
 
 entity
 
 media_player
 
 media_source
 
 remote
 
 sensor
 

Functions

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

Variables

 _LOGGER = logging.getLogger(__name__)
 
 CONFIG_SCHEMA = cv.config_entry_only_config_schema(DOMAIN)
 
list PLATFORMS
 

Detailed Description

The xbox integration.

Function Documentation

◆ async_setup_entry()

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

Definition at line 35 of file __init__.py.

◆ async_unload_entry()

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

Definition at line 69 of file __init__.py.

Variable Documentation

◆ _LOGGER

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

Definition at line 23 of file __init__.py.

◆ CONFIG_SCHEMA

homeassistant.components.xbox.CONFIG_SCHEMA = cv.config_entry_only_config_schema(DOMAIN)

Definition at line 25 of file __init__.py.

◆ PLATFORMS

list homeassistant.components.xbox.PLATFORMS
Initial value:
1 = [
2  Platform.BINARY_SENSOR,
3  Platform.MEDIA_PLAYER,
4  Platform.REMOTE,
5  Platform.SENSOR,
6 ]

Definition at line 27 of file __init__.py.