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

Classes

class  FibaroLight
 

Functions

None async_setup_entry (HomeAssistant hass, ConfigEntry entry, AddEntitiesCallback async_add_entities)
 
int scaleto255 (int|None value)
 
int scaleto99 (int|None value)
 

Variables

int PARALLEL_UPDATES = 2
 

Detailed Description

Support for Fibaro lights.

Function Documentation

◆ async_setup_entry()

None homeassistant.components.fibaro.light.async_setup_entry ( HomeAssistant  hass,
ConfigEntry  entry,
AddEntitiesCallback  async_add_entities 
)
Perform the setup for Fibaro controller devices.

Definition at line 53 of file light.py.

◆ scaleto255()

int homeassistant.components.fibaro.light.scaleto255 ( int | None  value)
Scale the input value from 0-100 to 0-255.

Definition at line 32 of file light.py.

◆ scaleto99()

int homeassistant.components.fibaro.light.scaleto99 ( int | None  value)
Scale the input value from 0-255 to 0-99.

Definition at line 43 of file light.py.

Variable Documentation

◆ PARALLEL_UPDATES

int homeassistant.components.fibaro.light.PARALLEL_UPDATES = 2

Definition at line 29 of file light.py.