Skip to content

Conversation

@karwosts
Copy link
Member

@karwosts karwosts commented Nov 3, 2025

Proposed change

All card visibility conditions are continually resolved in realtime, so I don't know if it makes sense to use the same discrete "test" function for card visibility as from the automation editor, when we can just monitor and display the status in realtime. This change just always shows the current status of visibility conditions via an Eye/EyeOff icon. It updates dynamically as the config changes and as the background hass/mediaQuery state changes.

image

Type of change

  • Dependency upgrade
  • Bugfix (non-breaking change which fixes an issue)
  • New feature (thank you!)
  • Breaking change (fix/feature causing existing functionality to break)
  • Code quality improvements to existing code or addition of tests

Example configuration

Additional information

Checklist

  • The code change is tested and works locally.
  • There is no commented out code in this PR.
  • Tests have been added to verify that the new code works.

If user exposed functionality or configuration variables are added/changed:

@karwosts
Copy link
Member Author

karwosts commented Nov 3, 2025

One minor issue is that the tooltip seems a little weird. Sometimes it pops up fine, sometimes it pops up for only a fraction of a second and disappears, and sometimes it doesn't popup at all, can't really figure out the reason for it.

I can't tell if I've done something wrong or there's some underlying weirdness with the new ha-tooltip component.

@piitaya piitaya added the Needs UX Pull requests requiring a review from the Home Assistant design team label Nov 4, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

cla-signed Needs UX Pull requests requiring a review from the Home Assistant design team

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants