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

Classes

class  HomematicipDimmer
 
class  HomematicipLight
 
class  HomematicipLightMeasuring
 
class  HomematicipMultiDimmer
 
class  HomematicipNotificationLight
 
class  HomematicipNotificationLightV2
 

Functions

RGBColorState _convert_color (tuple color)
 
None async_setup_entry (HomeAssistant hass, ConfigEntry config_entry, AddEntitiesCallback async_add_entities)
 

Detailed Description

Support for HomematicIP Cloud lights.

Function Documentation

◆ _convert_color()

RGBColorState homeassistant.components.homematicip_cloud.light._convert_color ( tuple  color)
private
Convert the given color to the reduced RGBColorState color.

RGBColorStat contains only 8 colors including white and black,
so a conversion is required.

Definition at line 324 of file light.py.

◆ async_setup_entry()

None homeassistant.components.homematicip_cloud.light.async_setup_entry ( HomeAssistant  hass,
ConfigEntry  config_entry,
AddEntitiesCallback  async_add_entities 
)
Set up the HomematicIP Cloud lights from a config entry.

Definition at line 40 of file light.py.