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

Classes

class  AppleTVConfigFlow
 
class  DeviceAlreadyConfigured
 
class  DeviceNotFound
 

Functions

tuple[BaseConfig|None, list[str]|None] device_scan (HomeAssistant hass, str|None identifier, asyncio.AbstractEventLoop loop)
 

Variables

 _LOGGER = logging.getLogger(__name__)
 
bool DEFAULT_START_OFF = False
 
string DEVICE_INPUT = "device_input"
 
int DISCOVERY_AGGREGATION_TIME = 15
 
 INPUT_PIN_SCHEMA = vol.Schema({vol.Required(CONF_PIN, default=None): int})
 
dictionary OPTIONS_FLOW
 
 OPTIONS_SCHEMA
 

Detailed Description

Config flow for Apple TV integration.

Function Documentation

◆ device_scan()

tuple[BaseConfig | None, list[str] | None] homeassistant.components.apple_tv.config_flow.device_scan ( HomeAssistant  hass,
str | None  identifier,
asyncio.AbstractEventLoop   loop 
)
Scan for a specific device using identifier as filter.

Definition at line 60 of file config_flow.py.

Variable Documentation

◆ _LOGGER

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

Definition at line 40 of file config_flow.py.

◆ DEFAULT_START_OFF

bool homeassistant.components.apple_tv.config_flow.DEFAULT_START_OFF = False

Definition at line 46 of file config_flow.py.

◆ DEVICE_INPUT

string homeassistant.components.apple_tv.config_flow.DEVICE_INPUT = "device_input"

Definition at line 42 of file config_flow.py.

◆ DISCOVERY_AGGREGATION_TIME

int homeassistant.components.apple_tv.config_flow.DISCOVERY_AGGREGATION_TIME = 15

Definition at line 48 of file config_flow.py.

◆ INPUT_PIN_SCHEMA

homeassistant.components.apple_tv.config_flow.INPUT_PIN_SCHEMA = vol.Schema({vol.Required(CONF_PIN, default=None): int})

Definition at line 44 of file config_flow.py.

◆ OPTIONS_FLOW

dictionary homeassistant.components.apple_tv.config_flow.OPTIONS_FLOW
Initial value:
1 = {
2  "init": SchemaFlowFormStep(OPTIONS_SCHEMA),
3 }

Definition at line 55 of file config_flow.py.

◆ OPTIONS_SCHEMA

homeassistant.components.apple_tv.config_flow.OPTIONS_SCHEMA
Initial value:
1 = vol.Schema(
2  {
3  vol.Optional(CONF_START_OFF, default=DEFAULT_START_OFF): bool,
4  }
5 )

Definition at line 50 of file config_flow.py.