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

Classes

class  FluxLight
 

Functions

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

Variables

 _LOGGER = logging.getLogger(__name__)
 
 ATTR_BRIGHTNESS
 
 ATTR_EFFECT
 
 ATTR_LIGHT_SCREEN
 
 ATTR_SENSITIVITY
 
 CONF_EFFECT
 
 CONF_SPEED_PCT
 
 CONF_TRANSITION
 
 default
 
 Final
 
dictionary MODE_ATTRS
 
 VolDictType
 

Detailed Description

Support for Magic Home lights.

Function Documentation

◆ async_setup_entry()

None homeassistant.components.flux_led.light.async_setup_entry ( HomeAssistant  hass,
config_entries.ConfigEntry  entry,
AddEntitiesCallback  async_add_entities 
)
Set up the Flux lights.

Definition at line 140 of file light.py.

Variable Documentation

◆ _LOGGER

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

Definition at line 66 of file light.py.

◆ ATTR_BRIGHTNESS

homeassistant.components.flux_led.light.ATTR_BRIGHTNESS

Definition at line 110 of file light.py.

◆ ATTR_EFFECT

homeassistant.components.flux_led.light.ATTR_EFFECT

Definition at line 113 of file light.py.

◆ ATTR_LIGHT_SCREEN

homeassistant.components.flux_led.light.ATTR_LIGHT_SCREEN

Definition at line 116 of file light.py.

◆ ATTR_SENSITIVITY

homeassistant.components.flux_led.light.ATTR_SENSITIVITY

Definition at line 107 of file light.py.

◆ CONF_EFFECT

homeassistant.components.flux_led.light.CONF_EFFECT

Definition at line 134 of file light.py.

◆ CONF_SPEED_PCT

homeassistant.components.flux_led.light.CONF_SPEED_PCT

Definition at line 98 of file light.py.

◆ CONF_TRANSITION

homeassistant.components.flux_led.light.CONF_TRANSITION

Definition at line 101 of file light.py.

◆ default

homeassistant.components.flux_led.light.default

Definition at line 98 of file light.py.

◆ Final

homeassistant.components.flux_led.light.Final

Definition at line 77 of file light.py.

◆ MODE_ATTRS

dictionary homeassistant.components.flux_led.light.MODE_ATTRS
Initial value:
1 = {
2  ATTR_EFFECT,
3  ATTR_COLOR_TEMP,
4  ATTR_RGB_COLOR,
5  ATTR_RGBW_COLOR,
6  ATTR_RGBWW_COLOR,
7  ATTR_WHITE,
8 }

Definition at line 68 of file light.py.

◆ VolDictType

homeassistant.components.flux_led.light.VolDictType

Definition at line 92 of file light.py.