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

Namespaces

 browse_media
 
 config_flow
 
 const
 
 entity
 
 media_player
 
 remote
 

Classes

class  AppleTVManager
 

Functions

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

Variables

 _LOGGER = logging.getLogger(__name__)
 
 AppleTvConfigEntry
 
tuple AUTH_EXCEPTIONS
 
int BACKOFF_TIME_LOWER_LIMIT = 15
 
int BACKOFF_TIME_UPPER_LIMIT = 300
 
tuple CONNECTION_TIMEOUT_EXCEPTIONS
 
string DEFAULT_NAME_HP = "HomePod"
 
string DEFAULT_NAME_TV = "Apple TV"
 
tuple DEVICE_EXCEPTIONS
 
list PLATFORMS = [Platform.MEDIA_PLAYER, Platform.REMOTE]
 

Detailed Description

The Apple TV integration.

Function Documentation

◆ async_setup_entry()

bool homeassistant.components.apple_tv.async_setup_entry ( HomeAssistant  hass,
AppleTvConfigEntry  entry 
)
Set up a config entry for Apple TV.

Definition at line 79 of file __init__.py.

◆ async_unload_entry()

bool homeassistant.components.apple_tv.async_unload_entry ( HomeAssistant  hass,
ConfigEntry  entry 
)
Unload an Apple TV config entry.

Definition at line 117 of file __init__.py.

Variable Documentation

◆ _LOGGER

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

Definition at line 46 of file __init__.py.

◆ AppleTvConfigEntry

homeassistant.components.apple_tv.AppleTvConfigEntry

Definition at line 76 of file __init__.py.

◆ AUTH_EXCEPTIONS

tuple homeassistant.components.apple_tv.AUTH_EXCEPTIONS
Initial value:
1 = (
2  exceptions.AuthenticationError,
3  exceptions.InvalidCredentialsError,
4  exceptions.NoCredentialsError,
5 )

Definition at line 56 of file __init__.py.

◆ BACKOFF_TIME_LOWER_LIMIT

int homeassistant.components.apple_tv.BACKOFF_TIME_LOWER_LIMIT = 15

Definition at line 51 of file __init__.py.

◆ BACKOFF_TIME_UPPER_LIMIT

int homeassistant.components.apple_tv.BACKOFF_TIME_UPPER_LIMIT = 300

Definition at line 52 of file __init__.py.

◆ CONNECTION_TIMEOUT_EXCEPTIONS

tuple homeassistant.components.apple_tv.CONNECTION_TIMEOUT_EXCEPTIONS
Initial value:
1 = (
2  OSError,
3  asyncio.CancelledError,
4  TimeoutError,
5  exceptions.ConnectionLostError,
6  exceptions.ConnectionFailedError,
7 )

Definition at line 61 of file __init__.py.

◆ DEFAULT_NAME_HP

string homeassistant.components.apple_tv.DEFAULT_NAME_HP = "HomePod"

Definition at line 49 of file __init__.py.

◆ DEFAULT_NAME_TV

string homeassistant.components.apple_tv.DEFAULT_NAME_TV = "Apple TV"

Definition at line 48 of file __init__.py.

◆ DEVICE_EXCEPTIONS

tuple homeassistant.components.apple_tv.DEVICE_EXCEPTIONS
Initial value:
1 = (
2  exceptions.ProtocolError,
3  exceptions.NoServiceError,
4  exceptions.PairingError,
5  exceptions.BackOffError,
6  exceptions.DeviceIdMissingError,
7 )

Definition at line 68 of file __init__.py.

◆ PLATFORMS

list homeassistant.components.apple_tv.PLATFORMS = [Platform.MEDIA_PLAYER, Platform.REMOTE]

Definition at line 54 of file __init__.py.