We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5a25904 commit b3224d2Copy full SHA for b3224d2
rs-matter/src/data_model/cluster_on_off.rs
@@ -54,7 +54,7 @@ pub const CLUSTER: Cluster<'static> = Cluster {
54
Attribute::new(
55
AttributesDiscriminants::OnOff as u16,
56
Access::RV,
57
- Quality::PERSISTENT,
+ Quality::SN,
58
),
59
],
60
commands: &[
rs-matter/src/data_model/objects/attribute.rs
@@ -76,6 +76,8 @@ bitflags! {
76
const PERSISTENT = 0x02; // Short: N
77
const FIXED = 0x04; // Short: F
78
const NULLABLE = 0x08; // Short: X
79
+
80
+ const SN = Self::SCENE.bits | Self::PERSISTENT.bits;
81
}
82
83
0 commit comments