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

Classes

class  LimitlessLEDGroup
 

Functions

def _LimitlessLEDGroupT
 
ConfigType rewrite_legacy (ConfigType config)
 
None setup_platform (HomeAssistant hass, ConfigType config, AddEntitiesCallback add_entities, DiscoveryInfoType|None discovery_info=None)
 

Variables

 _attr_effect
 
 _attr_is_on
 
 _LOGGER = logging.getLogger(__name__)
 
dictionary COLOR_MODES_LIMITLESS_DIMMER = {ColorMode.BRIGHTNESS}
 
dictionary COLOR_MODES_LIMITLESS_RGB = {ColorMode.HS}
 
dictionary COLOR_MODES_LIMITLESS_RGBWW = {ColorMode.COLOR_TEMP, ColorMode.HS}
 
dictionary COLOR_MODES_LIMITLESS_WHITE = {ColorMode.COLOR_TEMP}
 
string CONF_BRIDGES = "bridges"
 
string CONF_FADE = "fade"
 
string CONF_GROUPS = "groups"
 
string CONF_NUMBER = "number"
 
string CONF_VERSION = "version"
 
bool DEFAULT_FADE = False
 
string DEFAULT_LED_TYPE = "rgbw"
 
int DEFAULT_PORT = 5987
 
int DEFAULT_TRANSITION = 0
 
int DEFAULT_VERSION = 6
 
 effect
 
string EFFECT_NIGHT = "night"
 
list LED_TYPE = ["rgbw", "rgbww", "white", "bridge-led", "dimmer"]
 
int MIN_SATURATION = 10
 
 PLATFORM_SCHEMA
 
 SUPPORT_LIMITLESSLED_DIMMER = LightEntityFeature.TRANSITION
 
tuple SUPPORT_LIMITLESSLED_RGB
 
tuple SUPPORT_LIMITLESSLED_RGBWW
 
 SUPPORT_LIMITLESSLED_WHITE = LightEntityFeature.EFFECT | LightEntityFeature.TRANSITION
 
tuple WHITE = (0, 0)
 

Detailed Description

Support for LimitlessLED bulbs.

Function Documentation

◆ _LimitlessLEDGroupT()

def homeassistant.components.limitlessled.light._LimitlessLEDGroupT
private

Definition at line 176 of file light.py.

◆ rewrite_legacy()

ConfigType homeassistant.components.limitlessled.light.rewrite_legacy ( ConfigType  config)
Rewrite legacy configuration to new format.

Definition at line 111 of file light.py.

◆ setup_platform()

None homeassistant.components.limitlessled.light.setup_platform ( HomeAssistant  hass,
ConfigType  config,
AddEntitiesCallback  add_entities,
DiscoveryInfoType | None   discovery_info = None 
)
Set up the LimitlessLED lights.

Definition at line 144 of file light.py.

Variable Documentation

◆ _attr_effect

homeassistant.components.limitlessled.light._attr_effect
private

Definition at line 200 of file light.py.

◆ _attr_is_on

homeassistant.components.limitlessled.light._attr_is_on
private

Definition at line 207 of file light.py.

◆ _LOGGER

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

Definition at line 43 of file light.py.

◆ COLOR_MODES_LIMITLESS_DIMMER

dictionary homeassistant.components.limitlessled.light.COLOR_MODES_LIMITLESS_DIMMER = {ColorMode.BRIGHTNESS}

Definition at line 67 of file light.py.

◆ COLOR_MODES_LIMITLESS_RGB

dictionary homeassistant.components.limitlessled.light.COLOR_MODES_LIMITLESS_RGB = {ColorMode.HS}

Definition at line 69 of file light.py.

◆ COLOR_MODES_LIMITLESS_RGBWW

dictionary homeassistant.components.limitlessled.light.COLOR_MODES_LIMITLESS_RGBWW = {ColorMode.COLOR_TEMP, ColorMode.HS}

Definition at line 73 of file light.py.

◆ COLOR_MODES_LIMITLESS_WHITE

dictionary homeassistant.components.limitlessled.light.COLOR_MODES_LIMITLESS_WHITE = {ColorMode.COLOR_TEMP}

Definition at line 65 of file light.py.

◆ CONF_BRIDGES

string homeassistant.components.limitlessled.light.CONF_BRIDGES = "bridges"

Definition at line 45 of file light.py.

◆ CONF_FADE

string homeassistant.components.limitlessled.light.CONF_FADE = "fade"

Definition at line 49 of file light.py.

◆ CONF_GROUPS

string homeassistant.components.limitlessled.light.CONF_GROUPS = "groups"

Definition at line 46 of file light.py.

◆ CONF_NUMBER

string homeassistant.components.limitlessled.light.CONF_NUMBER = "number"

Definition at line 47 of file light.py.

◆ CONF_VERSION

string homeassistant.components.limitlessled.light.CONF_VERSION = "version"

Definition at line 48 of file light.py.

◆ DEFAULT_FADE

bool homeassistant.components.limitlessled.light.DEFAULT_FADE = False

Definition at line 55 of file light.py.

◆ DEFAULT_LED_TYPE

string homeassistant.components.limitlessled.light.DEFAULT_LED_TYPE = "rgbw"

Definition at line 51 of file light.py.

◆ DEFAULT_PORT

int homeassistant.components.limitlessled.light.DEFAULT_PORT = 5987

Definition at line 52 of file light.py.

◆ DEFAULT_TRANSITION

int homeassistant.components.limitlessled.light.DEFAULT_TRANSITION = 0

Definition at line 53 of file light.py.

◆ DEFAULT_VERSION

int homeassistant.components.limitlessled.light.DEFAULT_VERSION = 6

Definition at line 54 of file light.py.

◆ effect

homeassistant.components.limitlessled.light.effect

Definition at line 198 of file light.py.

◆ EFFECT_NIGHT

string homeassistant.components.limitlessled.light.EFFECT_NIGHT = "night"

Definition at line 59 of file light.py.

◆ LED_TYPE

list homeassistant.components.limitlessled.light.LED_TYPE = ["rgbw", "rgbww", "white", "bridge-led", "dimmer"]

Definition at line 57 of file light.py.

◆ MIN_SATURATION

int homeassistant.components.limitlessled.light.MIN_SATURATION = 10

Definition at line 61 of file light.py.

◆ PLATFORM_SCHEMA

homeassistant.components.limitlessled.light.PLATFORM_SCHEMA

Definition at line 78 of file light.py.

◆ SUPPORT_LIMITLESSLED_DIMMER

homeassistant.components.limitlessled.light.SUPPORT_LIMITLESSLED_DIMMER = LightEntityFeature.TRANSITION

Definition at line 68 of file light.py.

◆ SUPPORT_LIMITLESSLED_RGB

tuple homeassistant.components.limitlessled.light.SUPPORT_LIMITLESSLED_RGB
Initial value:
1 = (
2  LightEntityFeature.EFFECT | LightEntityFeature.FLASH | LightEntityFeature.TRANSITION
3 )

Definition at line 70 of file light.py.

◆ SUPPORT_LIMITLESSLED_RGBWW

tuple homeassistant.components.limitlessled.light.SUPPORT_LIMITLESSLED_RGBWW
Initial value:
1 = (
2  LightEntityFeature.EFFECT | LightEntityFeature.FLASH | LightEntityFeature.TRANSITION
3 )

Definition at line 74 of file light.py.

◆ SUPPORT_LIMITLESSLED_WHITE

homeassistant.components.limitlessled.light.SUPPORT_LIMITLESSLED_WHITE = LightEntityFeature.EFFECT | LightEntityFeature.TRANSITION

Definition at line 66 of file light.py.

◆ WHITE

tuple homeassistant.components.limitlessled.light.WHITE = (0, 0)

Definition at line 63 of file light.py.