Home Assistant Unofficial Reference 2024.12.1
homeassistant.components.kaleidescape.media_player Namespace Reference

Classes

class  KaleidescapeMediaPlayer
 

Functions

None async_setup_entry (HomeAssistant hass, ConfigEntry entry, AddEntitiesCallback async_add_entities)
 

Variables

 _LOGGER = logging.getLogger(__name__)
 
list KALEIDESCAPE_PAUSED_STATES = [kaleidescape_const.PLAY_STATUS_PAUSED]
 
list KALEIDESCAPE_PLAYING_STATES
 

Detailed Description

Kaleidescape Media Player.

Function Documentation

◆ async_setup_entry()

None homeassistant.components.kaleidescape.media_player.async_setup_entry ( HomeAssistant  hass,
ConfigEntry  entry,
AddEntitiesCallback   async_add_entities 
)
Set up the platform from a config entry.

Definition at line 40 of file media_player.py.

Variable Documentation

◆ _LOGGER

homeassistant.components.kaleidescape.media_player._LOGGER = logging.getLogger(__name__)
private

Definition at line 37 of file media_player.py.

◆ KALEIDESCAPE_PAUSED_STATES

list homeassistant.components.kaleidescape.media_player.KALEIDESCAPE_PAUSED_STATES = [kaleidescape_const.PLAY_STATUS_PAUSED]

Definition at line 34 of file media_player.py.

◆ KALEIDESCAPE_PLAYING_STATES

list homeassistant.components.kaleidescape.media_player.KALEIDESCAPE_PLAYING_STATES
Initial value:
1 = [
2  kaleidescape_const.PLAY_STATUS_PLAYING,
3  kaleidescape_const.PLAY_STATUS_FORWARD,
4  kaleidescape_const.PLAY_STATUS_REVERSE,
5 ]

Definition at line 28 of file media_player.py.