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

Classes

class  MyStromLight
 

Functions

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

Variables

 _LOGGER = logging.getLogger(__name__)
 
string DEFAULT_NAME = "myStrom bulb"
 
string EFFECT_RAINBOW = "rainbow"
 
string EFFECT_SUNRISE = "sunrise"
 

Detailed Description

Support for myStrom Wifi bulbs.

Function Documentation

◆ async_setup_entry()

None homeassistant.components.mystrom.light.async_setup_entry ( HomeAssistant  hass,
ConfigEntry  entry,
AddEntitiesCallback   async_add_entities 
)
Set up the myStrom entities.

Definition at line 33 of file light.py.

Variable Documentation

◆ _LOGGER

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

Definition at line 25 of file light.py.

◆ DEFAULT_NAME

string homeassistant.components.mystrom.light.DEFAULT_NAME = "myStrom bulb"

Definition at line 27 of file light.py.

◆ EFFECT_RAINBOW

string homeassistant.components.mystrom.light.EFFECT_RAINBOW = "rainbow"

Definition at line 29 of file light.py.

◆ EFFECT_SUNRISE

string homeassistant.components.mystrom.light.EFFECT_SUNRISE = "sunrise"

Definition at line 30 of file light.py.