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

Namespaces

 config_flow
 
 const
 
 entity
 
 media_player
 
 remote
 

Functions

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

Variables

list PLATFORMS = [Platform.MEDIA_PLAYER, Platform.REMOTE]
 
 SCAN_INTERVAL = timedelta(seconds=30)
 

Detailed Description

The DirecTV integration.

Function Documentation

◆ async_setup_entry()

bool homeassistant.components.directv.async_setup_entry ( HomeAssistant  hass,
ConfigEntry  entry 
)
Set up DirecTV from a config entry.

Definition at line 21 of file __init__.py.

◆ async_unload_entry()

bool homeassistant.components.directv.async_unload_entry ( HomeAssistant  hass,
ConfigEntry  entry 
)
Unload a config entry.

Definition at line 38 of file __init__.py.

Variable Documentation

◆ PLATFORMS

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

Definition at line 17 of file __init__.py.

◆ SCAN_INTERVAL

homeassistant.components.directv.SCAN_INTERVAL = timedelta(seconds=30)

Definition at line 18 of file __init__.py.