Skip to content

Commit 0ab998e

Browse files
authored
feat(matter): adds esp_matter:: namespace to attribute_t
1 parent 14159e3 commit 0ab998e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

libraries/Matter/src/MatterEndpoints/MatterOnOffLight.cpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -108,7 +108,7 @@ bool MatterOnOffLight::setOnOff(bool newState) {
108108

109109
endpoint_t *endpoint = endpoint::get(node::get(), endpoint_id);
110110
cluster_t *cluster = cluster::get(endpoint, OnOff::Id);
111-
attribute_t *attribute = attribute::get(cluster, OnOff::Attributes::OnOff::Id);
111+
esp_matter::attribute_t *attribute = attribute::get(cluster, OnOff::Attributes::OnOff::Id);
112112

113113
esp_matter_attr_val_t val = esp_matter_invalid(NULL);
114114
attribute::get_val(attribute, &val);

0 commit comments

Comments
 (0)