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

Classes

class  UpbLight
 

Functions

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

Variables

string SERVICE_LIGHT_BLINK = "light_blink"
 
string SERVICE_LIGHT_FADE_START = "light_fade_start"
 
string SERVICE_LIGHT_FADE_STOP = "light_fade_stop"
 

Detailed Description

Platform for UPB light integration.

Function Documentation

◆ async_setup_entry()

None homeassistant.components.upb.light.async_setup_entry ( HomeAssistant  hass,
ConfigEntry  config_entry,
AddEntitiesCallback  async_add_entities 
)
Set up the UPB light based on a config entry.

Definition at line 26 of file light.py.

Variable Documentation

◆ SERVICE_LIGHT_BLINK

string homeassistant.components.upb.light.SERVICE_LIGHT_BLINK = "light_blink"

Definition at line 23 of file light.py.

◆ SERVICE_LIGHT_FADE_START

string homeassistant.components.upb.light.SERVICE_LIGHT_FADE_START = "light_fade_start"

Definition at line 21 of file light.py.

◆ SERVICE_LIGHT_FADE_STOP

string homeassistant.components.upb.light.SERVICE_LIGHT_FADE_STOP = "light_fade_stop"

Definition at line 22 of file light.py.