Skip to content

Hide a null attribute with hide_unavailable (#452) - #462

Merged
jpettitt merged 1 commit into
masterfrom
issue-452-null-attribute
Oct 2, 2026
Merged

jpettitt merged 1 commit into
masterfrom
issue-452-null-attribute

Conversation

@jpettitt

@jpettitt jpettitt commented Oct 2, 2026

Copy link
Copy Markdown
Collaborator

hide_unavailable with an attribute didn't hide when that attribute was null - how integrations report "not set", which HA shows as Unknown. A null attribute now counts as missing; an empty list or string still shows.

6 new tests.

Refs #452

🤖 Generated with Claude Code and reviewed by @jpettitt

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Reviewed-by: John Pettitt @jpettitt
@jpettitt
jpettitt merged commit d2a5a9b into master Oct 2, 2026
2 checks passed
@jpettitt
jpettitt deleted the issue-452-null-attribute branch October 2, 2026 03:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant