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

Classes

class  MatterLight
 

Functions

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

Variables

dictionary COLOR_MODE_MAP
 
list DISCOVERY_SCHEMAS
 
tuple TRANSITION_BLOCKLIST
 

Detailed Description

Matter light.

Function Documentation

◆ async_setup_entry()

None homeassistant.components.matter.light.async_setup_entry ( HomeAssistant  hass,
ConfigEntry  config_entry,
AddEntitiesCallback  async_add_entities 
)
Set up Matter Light from Config Entry.

Definition at line 74 of file light.py.

Variable Documentation

◆ COLOR_MODE_MAP

dictionary homeassistant.components.matter.light.COLOR_MODE_MAP
Initial value:
1 = {
2  clusters.ColorControl.Enums.ColorMode.kCurrentHueAndCurrentSaturation: ColorMode.HS,
3  clusters.ColorControl.Enums.ColorMode.kCurrentXAndCurrentY: ColorMode.XY,
4  clusters.ColorControl.Enums.ColorMode.kColorTemperature: ColorMode.COLOR_TEMP,
5 }

Definition at line 39 of file light.py.

◆ DISCOVERY_SCHEMAS

list homeassistant.components.matter.light.DISCOVERY_SCHEMAS

Definition at line 443 of file light.py.

◆ TRANSITION_BLOCKLIST

tuple homeassistant.components.matter.light.TRANSITION_BLOCKLIST
Initial value:
1 = (
2  (4107, 8475, "v1.0", "v1.0"),
3  (4107, 8550, "v1.0", "v1.0"),
4  (4107, 8551, "v1.0", "v1.0"),
5  (4107, 8571, "v1.0", "v1.0"),
6  (4107, 8656, "v1.0", "v1.0"),
7  (4448, 36866, "V1", "V1.0.0.5"),
8  (4456, 1011, "1.0.0", "2.00.00"),
9  (4488, 260, "1.0", "1.0.0"),
10  (4488, 514, "1.0", "1.0.0"),
11  (4921, 42, "1.0", "1.01.060"),
12  (4921, 43, "1.0", "1.01.060"),
13  (4999, 24875, "1.0", "27.0"),
14  (4999, 25057, "1.0", "27.0"),
15  (5009, 514, "1.0", "1.0.0"),
16  (5010, 769, "3.0", "1.0.0"),
17  (5130, 544, "v0.4", "6.7.196e9d4e08-14"),
18  (5127, 4232, "ver_0.1", "v1.00.51"),
19  (5245, 1412, "1.0", "1.0.21"),
20 )

Definition at line 52 of file light.py.