Home Assistant Unofficial Reference 2024.12.1
homeassistant.components.cambridge_audio.const Namespace Reference

Variables

string CAMBRIDGE_MEDIA_TYPE_AIRABLE = "airable"
 
string CAMBRIDGE_MEDIA_TYPE_INTERNET_RADIO = "internet_radio"
 
string CAMBRIDGE_MEDIA_TYPE_PRESET = "preset"
 
int CONNECT_TIMEOUT = 5
 
string DOMAIN = "cambridge_audio"
 
 LOGGER = logging.getLogger(__package__)
 
tuple STREAM_MAGIC_EXCEPTIONS
 

Detailed Description

Constants for the Cambridge Audio integration.

Variable Documentation

◆ CAMBRIDGE_MEDIA_TYPE_AIRABLE

string homeassistant.components.cambridge_audio.const.CAMBRIDGE_MEDIA_TYPE_AIRABLE = "airable"

Definition at line 22 of file const.py.

◆ CAMBRIDGE_MEDIA_TYPE_INTERNET_RADIO

string homeassistant.components.cambridge_audio.const.CAMBRIDGE_MEDIA_TYPE_INTERNET_RADIO = "internet_radio"

Definition at line 23 of file const.py.

◆ CAMBRIDGE_MEDIA_TYPE_PRESET

string homeassistant.components.cambridge_audio.const.CAMBRIDGE_MEDIA_TYPE_PRESET = "preset"

Definition at line 21 of file const.py.

◆ CONNECT_TIMEOUT

int homeassistant.components.cambridge_audio.const.CONNECT_TIMEOUT = 5

Definition at line 19 of file const.py.

◆ DOMAIN

string homeassistant.components.cambridge_audio.const.DOMAIN = "cambridge_audio"

Definition at line 8 of file const.py.

◆ LOGGER

homeassistant.components.cambridge_audio.const.LOGGER = logging.getLogger(__package__)

Definition at line 10 of file const.py.

◆ STREAM_MAGIC_EXCEPTIONS

tuple homeassistant.components.cambridge_audio.const.STREAM_MAGIC_EXCEPTIONS
Initial value:
1 = (
2  StreamMagicConnectionError,
3  StreamMagicError,
4  asyncio.CancelledError,
5  TimeoutError,
6 )

Definition at line 12 of file const.py.