Skip to content

Default active notification content attributes to off#6801

Draft
Komzpa wants to merge 1 commit into
home-assistant:mainfrom
Komzpa:codex/active-notification-attrs-default-off
Draft

Default active notification content attributes to off#6801
Komzpa wants to merge 1 commit into
home-assistant:mainfrom
Komzpa:codex/active-notification-attrs-default-off

Conversation

@Komzpa
Copy link
Copy Markdown

@Komzpa Komzpa commented May 3, 2026

Summary

  • Change the Active notification count sensor's Include content from all notifications as attributes setting to default off.
  • Update the sensor description so it no longer says notification contents are included by default.

Why

When this setting is enabled on a device with many notifications, the sensor can send very large attribute payloads. In Home Assistant Core, those attributes can exceed the recorder state-attribute limit and produce repeated recorder warnings while the attributes are not stored anyway.

The sensor still reports the numeric active notification count with its notifications unit. Users who explicitly want notification contents in attributes can still enable the setting.

Testing

  • git diff --check
  • Attempted ./gradlew --no-daemon :app:ktlintCheck :common:lintRelease, but local validation was blocked during project configuration because this checkout has no Android SDK configured (ANDROID_HOME / local.properties missing), before the changed tasks ran.

@Komzpa Komzpa force-pushed the codex/active-notification-attrs-default-off branch from e12a782 to d6f6e19 Compare May 14, 2026 03:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant