@@ -122,11 +122,11 @@ bool MatterColorTemperatureLight::begin(bool initialState, uint8_t brightness, u
122122
123123 /* Mark deferred persistence for some attributes that might be changed rapidly */
124124 cluster_t *level_control_cluster = cluster::get (endpoint, LevelControl::Id);
125- attribute_t *current_level_attribute = attribute::get (level_control_cluster, LevelControl::Attributes::CurrentLevel::Id);
125+ esp_matter:: attribute_t *current_level_attribute = attribute::get (level_control_cluster, LevelControl::Attributes::CurrentLevel::Id);
126126 attribute::set_deferred_persistence (current_level_attribute);
127127
128128 cluster_t *color_control_cluster = cluster::get (endpoint, ColorControl::Id);
129- attribute_t *color_temp_attribute = attribute::get (color_control_cluster, ColorControl::Attributes::ColorTemperatureMireds::Id);
129+ esp_matter:: attribute_t *color_temp_attribute = attribute::get (color_control_cluster, ColorControl::Attributes::ColorTemperatureMireds::Id);
130130 attribute::set_deferred_persistence (color_temp_attribute);
131131
132132 started = true ;
@@ -152,7 +152,7 @@ bool MatterColorTemperatureLight::setOnOff(bool newState) {
152152
153153 endpoint_t *endpoint = endpoint::get (node::get (), endpoint_id);
154154 cluster_t *cluster = cluster::get (endpoint, OnOff::Id);
155- attribute_t *attribute = attribute::get (cluster, OnOff::Attributes::OnOff::Id);
155+ esp_matter:: attribute_t *attribute = attribute::get (cluster, OnOff::Attributes::OnOff::Id);
156156
157157 esp_matter_attr_val_t val = esp_matter_invalid (NULL );
158158 attribute::get_val (attribute, &val);
@@ -193,7 +193,7 @@ bool MatterColorTemperatureLight::setBrightness(uint8_t newBrightness) {
193193
194194 endpoint_t *endpoint = endpoint::get (node::get (), endpoint_id);
195195 cluster_t *cluster = cluster::get (endpoint, LevelControl::Id);
196- attribute_t *attribute = attribute::get (cluster, LevelControl::Attributes::CurrentLevel::Id);
196+ esp_matter:: attribute_t *attribute = attribute::get (cluster, LevelControl::Attributes::CurrentLevel::Id);
197197
198198 esp_matter_attr_val_t val = esp_matter_invalid (NULL );
199199 attribute::get_val (attribute, &val);
@@ -224,7 +224,7 @@ bool MatterColorTemperatureLight::setColorTemperature(uint16_t newTemperature) {
224224
225225 endpoint_t *endpoint = endpoint::get (node::get (), endpoint_id);
226226 cluster_t *cluster = cluster::get (endpoint, ColorControl::Id);
227- attribute_t *attribute = attribute::get (cluster, ColorControl::Attributes::ColorTemperatureMireds::Id);
227+ esp_matter:: attribute_t *attribute = attribute::get (cluster, ColorControl::Attributes::ColorTemperatureMireds::Id);
228228
229229 esp_matter_attr_val_t val = esp_matter_invalid (NULL );
230230 attribute::get_val (attribute, &val);
0 commit comments