@@ -194,7 +194,7 @@ bool MatterColorLight::begin(bool initialState, espHsvColor_t _colorHSV) {
194
194
195
195
/* Mark deferred persistence for some attributes that might be changed rapidly */
196
196
cluster_t *level_control_cluster = cluster::get (endpoint, LevelControl::Id);
197
- attribute_t *current_level_attribute = attribute::get (level_control_cluster, LevelControl::Attributes::CurrentLevel::Id);
197
+ esp_matter:: attribute_t *current_level_attribute = attribute::get (level_control_cluster, LevelControl::Attributes::CurrentLevel::Id);
198
198
attribute::set_deferred_persistence (current_level_attribute);
199
199
200
200
started = true ;
@@ -220,7 +220,7 @@ bool MatterColorLight::setOnOff(bool newState) {
220
220
221
221
endpoint_t *endpoint = endpoint::get (node::get (), endpoint_id);
222
222
cluster_t *cluster = cluster::get (endpoint, OnOff::Id);
223
- attribute_t *attribute = attribute::get (cluster, OnOff::Attributes::OnOff::Id);
223
+ esp_matter:: attribute_t *attribute = attribute::get (cluster, OnOff::Attributes::OnOff::Id);
224
224
225
225
esp_matter_attr_val_t val = esp_matter_invalid (NULL );
226
226
attribute::get_val (attribute, &val);
@@ -271,7 +271,7 @@ bool MatterColorLight::setColorHSV(espHsvColor_t _hsvColor) {
271
271
endpoint_t *endpoint = endpoint::get (node::get (), endpoint_id);
272
272
cluster_t *cluster = cluster::get (endpoint, ColorControl::Id);
273
273
// update hue
274
- attribute_t *attribute = attribute::get (cluster, ColorControl::Attributes::CurrentHue::Id);
274
+ esp_matter:: attribute_t *attribute = attribute::get (cluster, ColorControl::Attributes::CurrentHue::Id);
275
275
esp_matter_attr_val_t val = esp_matter_invalid (NULL );
276
276
attribute::get_val (attribute, &val);
277
277
if (val.val .u8 != colorHSV.h ) {
0 commit comments