Home Assistant Unofficial Reference 2024.12.1
homeassistant.components.control4.config_flow.Control4Validator Class Reference

Public Member Functions

None __init__ (self, str host, str username, str password, HomeAssistant hass)
 
bool authenticate (self)
 
bool connect_to_director (self)
 

Public Attributes

 controller_unique_id
 
 director_bearer_token
 
 hass
 
 host
 
 password
 
 username
 

Detailed Description

Validates that config details can be used to authenticate and communicate with Control4.

Definition at line 49 of file config_flow.py.

Constructor & Destructor Documentation

◆ __init__()

None homeassistant.components.control4.config_flow.Control4Validator.__init__ (   self,
str  host,
str  username,
str  password,
HomeAssistant   hass 
)
Validates that config details can be used to authenticate and communicate with Control4.
Initialize.

Definition at line 52 of file config_flow.py.

Member Function Documentation

◆ authenticate()

bool homeassistant.components.control4.config_flow.Control4Validator.authenticate (   self)
Test if we can authenticate with the Control4 account API.

Definition at line 63 of file config_flow.py.

◆ connect_to_director()

bool homeassistant.components.control4.config_flow.Control4Validator.connect_to_director (   self)
Test if we can connect to the local Control4 Director.

Definition at line 83 of file config_flow.py.

Member Data Documentation

◆ controller_unique_id

homeassistant.components.control4.config_flow.Control4Validator.controller_unique_id

Definition at line 59 of file config_flow.py.

◆ director_bearer_token

homeassistant.components.control4.config_flow.Control4Validator.director_bearer_token

Definition at line 60 of file config_flow.py.

◆ hass

homeassistant.components.control4.config_flow.Control4Validator.hass

Definition at line 61 of file config_flow.py.

◆ host

homeassistant.components.control4.config_flow.Control4Validator.host

Definition at line 56 of file config_flow.py.

◆ password

homeassistant.components.control4.config_flow.Control4Validator.password

Definition at line 58 of file config_flow.py.

◆ username

homeassistant.components.control4.config_flow.Control4Validator.username

Definition at line 57 of file config_flow.py.


The documentation for this class was generated from the following file: