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

Classes

class  VlcDevice
 

Functions

str|None _get_str (dict data, str key)
 
def _VlcDeviceT
 
None async_setup_entry (HomeAssistant hass, VlcConfigEntry entry, AddEntitiesCallback async_add_entities)
 

Variables

 _attr_available
 
int MAX_VOLUME = 500
 

Detailed Description

Provide functionality to interact with the vlc telnet interface.

Function Documentation

◆ _get_str()

str | None homeassistant.components.vlc_telnet.media_player._get_str ( dict  data,
str  key 
)
private
Get a value from a dictionary and cast it to a string or None.

Definition at line 34 of file media_player.py.

◆ _VlcDeviceT()

def homeassistant.components.vlc_telnet.media_player._VlcDeviceT
private

Definition at line 53 of file media_player.py.

◆ async_setup_entry()

None homeassistant.components.vlc_telnet.media_player.async_setup_entry ( HomeAssistant  hass,
VlcConfigEntry  entry,
AddEntitiesCallback   async_add_entities 
)
Set up the vlc platform.

Definition at line 41 of file media_player.py.

Variable Documentation

◆ _attr_available

homeassistant.components.vlc_telnet.media_player._attr_available
private

Definition at line 68 of file media_player.py.

◆ MAX_VOLUME

int homeassistant.components.vlc_telnet.media_player.MAX_VOLUME = 500

Definition at line 31 of file media_player.py.