Skip to content

[SL-ONLY] Log occupancy attribute updates in multi-sensor app - #1244

Merged
chirag-silabs merged 1 commit into
release_2.10-1.6.1from
bugfix/log_for_occupancy_changed
Oct 13, 2026
Merged

chirag-silabs merged 1 commit into
release_2.10-1.6.1from
bugfix/log_for_occupancy_changed

Conversation

@chirag-silabs

Copy link
Copy Markdown
Contributor

Summary

Adds a progress log when the Occupancy Sensing Occupancy attribute changes in the Silabs multi-sensor example.

  • Log "Occupancy attribute updated" in SensorManagerAttributeChangeListener::OnAttributeChanged when endpoint 1 Occupancy Sensing Occupancy is updated.

Related issues

NA

Testing

  • Manual: build and flash the Silabs multi-sensor app, press the application button (BTN1) to toggle occupancy, and confirm "Occupancy attribute updated" appears in the logs along with the existing occupancy LED/UI update.

@chirag-silabs
chirag-silabs requested a review from a team as a code owner October 5, 2026 18:45
@chirag-silabs
chirag-silabs changed the base branch from main to release_2.10-1.6.1 October 5, 2026 18:45
@cursor

cursor Bot commented Oct 5, 2026 •

Copy link
Copy Markdown

PR Summary

Low Risk
Example-app-only logging with no changes to Matter data model, security, or runtime logic.

Overview
Adds a progress log in the Silabs multi-sensor example when the Occupancy Sensing Occupancy attribute changes on endpoint 1.

In SensorManagerAttributeChangeListener::OnAttributeChanged, the occupancy branch now emits "Occupancy attribute updated" via ChipLogProgress before the existing event post to AppTask. Behavior (LED/UI and occupancy handling) is unchanged; this only improves debug visibility when occupancy is toggled (e.g. via BTN1).

Reviewed by Cursor Bugbot for commit 58d1765. Configure here.

@chirag-silabs
chirag-silabs force-pushed the bugfix/log_for_occupancy_changed branch from 92bf048 to 58d1765 Compare October 13, 2026 05:57
@silabs-matter-ci-bot silabs-matter-ci-bot Bot added the sl-only This TAG indicates that this commit is a silabs-specific commit that cannot be upstreamed to CSA. label Oct 13, 2026
@chirag-silabs
chirag-silabs merged commit 41e32d7 into release_2.10-1.6.1 Oct 13, 2026
88 checks passed
@chirag-silabs
chirag-silabs deleted the bugfix/log_for_occupancy_changed branch October 13, 2026 09:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

sl-only This TAG indicates that this commit is a silabs-specific commit that cannot be upstreamed to CSA.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants