We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 14159e3 commit 0ab998eCopy full SHA for 0ab998e
libraries/Matter/src/MatterEndpoints/MatterOnOffLight.cpp
@@ -108,7 +108,7 @@ bool MatterOnOffLight::setOnOff(bool newState) {
108
109
endpoint_t *endpoint = endpoint::get(node::get(), endpoint_id);
110
cluster_t *cluster = cluster::get(endpoint, OnOff::Id);
111
- attribute_t *attribute = attribute::get(cluster, OnOff::Attributes::OnOff::Id);
+ esp_matter::attribute_t *attribute = attribute::get(cluster, OnOff::Attributes::OnOff::Id);
112
113
esp_matter_attr_val_t val = esp_matter_invalid(NULL);
114
attribute::get_val(attribute, &val);
0 commit comments