@@ -101,7 +101,7 @@ bool MatterDimmableLight::begin(bool initialState, uint8_t brightness) {
101101
102102 /* Mark deferred persistence for some attributes that might be changed rapidly */
103103 cluster_t *level_control_cluster = cluster::get (endpoint, LevelControl::Id);
104- attribute_t *current_level_attribute = attribute::get (level_control_cluster, LevelControl::Attributes::CurrentLevel::Id);
104+ esp_matter:: attribute_t *current_level_attribute = attribute::get (level_control_cluster, LevelControl::Attributes::CurrentLevel::Id);
105105 attribute::set_deferred_persistence (current_level_attribute);
106106
107107 started = true ;
@@ -127,7 +127,7 @@ bool MatterDimmableLight::setOnOff(bool newState) {
127127
128128 endpoint_t *endpoint = endpoint::get (node::get (), endpoint_id);
129129 cluster_t *cluster = cluster::get (endpoint, OnOff::Id);
130- attribute_t *attribute = attribute::get (cluster, OnOff::Attributes::OnOff::Id);
130+ esp_matter:: attribute_t *attribute = attribute::get (cluster, OnOff::Attributes::OnOff::Id);
131131
132132 esp_matter_attr_val_t val = esp_matter_invalid (NULL );
133133 attribute::get_val (attribute, &val);
@@ -168,7 +168,7 @@ bool MatterDimmableLight::setBrightness(uint8_t newBrightness) {
168168
169169 endpoint_t *endpoint = endpoint::get (node::get (), endpoint_id);
170170 cluster_t *cluster = cluster::get (endpoint, LevelControl::Id);
171- attribute_t *attribute = attribute::get (cluster, LevelControl::Attributes::CurrentLevel::Id);
171+ esp_matter:: attribute_t *attribute = attribute::get (cluster, LevelControl::Attributes::CurrentLevel::Id);
172172
173173 esp_matter_attr_val_t val = esp_matter_invalid (NULL );
174174 attribute::get_val (attribute, &val);
0 commit comments