Skip to content

Commit b3224d2

Browse files
committed
add SN Quality
1 parent 5a25904 commit b3224d2

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

rs-matter/src/data_model/cluster_on_off.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ pub const CLUSTER: Cluster<'static> = Cluster {
5454
Attribute::new(
5555
AttributesDiscriminants::OnOff as u16,
5656
Access::RV,
57-
Quality::PERSISTENT,
57+
Quality::SN,
5858
),
5959
],
6060
commands: &[

rs-matter/src/data_model/objects/attribute.rs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -76,6 +76,8 @@ bitflags! {
7676
const PERSISTENT = 0x02; // Short: N
7777
const FIXED = 0x04; // Short: F
7878
const NULLABLE = 0x08; // Short: X
79+
80+
const SN = Self::SCENE.bits | Self::PERSISTENT.bits;
7981
}
8082
}
8183

0 commit comments

Comments
 (0)