Home Assistant Unofficial Reference 2024.12.1
homeassistant.components.control4.light Namespace Reference

Classes

class  Control4Light
 

Functions

None async_setup_entry (HomeAssistant hass, ConfigEntry entry, AddEntitiesCallback async_add_entities)
 

Variables

 _LOGGER = logging.getLogger(__name__)
 
string CONTROL4_CATEGORY = "lights"
 
list CONTROL4_DIMMER_VARS = ["LIGHT_LEVEL", "Brightness Percent"]
 
string CONTROL4_NON_DIMMER_VAR = "LIGHT_STATE"
 

Detailed Description

Platform for Control4 Lights.

Function Documentation

◆ async_setup_entry()

None homeassistant.components.control4.light.async_setup_entry ( HomeAssistant  hass,
ConfigEntry  entry,
AddEntitiesCallback   async_add_entities 
)
Set up Control4 lights from a config entry.

Definition at line 38 of file light.py.

Variable Documentation

◆ _LOGGER

homeassistant.components.control4.light._LOGGER = logging.getLogger(__name__)
private

Definition at line 31 of file light.py.

◆ CONTROL4_CATEGORY

string homeassistant.components.control4.light.CONTROL4_CATEGORY = "lights"

Definition at line 33 of file light.py.

◆ CONTROL4_DIMMER_VARS

list homeassistant.components.control4.light.CONTROL4_DIMMER_VARS = ["LIGHT_LEVEL", "Brightness Percent"]

Definition at line 35 of file light.py.

◆ CONTROL4_NON_DIMMER_VAR

string homeassistant.components.control4.light.CONTROL4_NON_DIMMER_VAR = "LIGHT_STATE"

Definition at line 34 of file light.py.