Home Assistant Unofficial Reference 2024.12.1
switch.py File Reference

Go to the source code of this file.

Classes

class  homeassistant.components.flux.switch.FluxSwitch
 

Namespaces

 homeassistant.components.flux.switch
 

Functions

def homeassistant.components.flux.switch.async_set_lights_rgb (hass, lights, rgb, transition)
 
def homeassistant.components.flux.switch.async_set_lights_temp (hass, lights, mired, brightness, transition)
 
def homeassistant.components.flux.switch.async_set_lights_xy (hass, lights, x_val, y_val, brightness, transition)
 
None homeassistant.components.flux.switch.async_setup_platform (HomeAssistant hass, ConfigType config, AddEntitiesCallback async_add_entities, DiscoveryInfoType|None discovery_info=None)
 

Variables

 homeassistant.components.flux.switch._LOGGER = logging.getLogger(__name__)
 
string homeassistant.components.flux.switch.ATTR_UNIQUE_ID = "unique_id"
 
string homeassistant.components.flux.switch.CONF_DISABLE_BRIGHTNESS_ADJUST = "disable_brightness_adjust"
 
string homeassistant.components.flux.switch.CONF_INTERVAL = "interval"
 
string homeassistant.components.flux.switch.CONF_START_CT = "start_colortemp"
 
string homeassistant.components.flux.switch.CONF_START_TIME = "start_time"
 
string homeassistant.components.flux.switch.CONF_STOP_CT = "stop_colortemp"
 
string homeassistant.components.flux.switch.CONF_STOP_TIME = "stop_time"
 
string homeassistant.components.flux.switch.CONF_SUNSET_CT = "sunset_colortemp"
 
string homeassistant.components.flux.switch.DEFAULT_MODE = MODE_XY
 
string homeassistant.components.flux.switch.MODE_MIRED = "mired"
 
string homeassistant.components.flux.switch.MODE_RGB = "rgb"
 
string homeassistant.components.flux.switch.MODE_XY = "xy"
 
 homeassistant.components.flux.switch.PLATFORM_SCHEMA