Skip to content

Render camera favorites as camera tiles - #53814

Open
balloob wants to merge 1 commit into
devfrom
claude/camera-tile-favorites-lvx39e
Open

Render camera favorites as camera tiles#53814
balloob wants to merge 1 commit into
devfrom
claude/camera-tile-favorites-lvx39e

Conversation

@balloob

@balloob balloob commented Aug 26, 2026

Copy link
Copy Markdown
Member

Breaking change

Proposed change

Favoriting a camera rendered it as a regular tile, so the camera showed up as a small round thumbnail next to its name instead of showing its picture. Cameras now get the same picture-entity card that the area sections already use for them.

Applies to both dashboards that have favorites:

  • Home overview, on both paths: the common-controls favorites section and the pinned-only section used when suggested entities are hidden.
  • Security.

The three call sites each built the same tile config inline. They now share computeFavoriteCardConfig, so favorites render the same way everywhere.

Three notes for reviewers:

  • The camera card matches what computeAreaTileCardConfig produces (show_name: false, 6x2), so a favorited camera looks like a camera anywhere else on the dashboard. Happy to turn the name on for favorites if you would rather have the label there, since favorites have no area heading to give them context.
  • common-controls also renders usage-prediction results, not just pinned favorites, so a camera arriving there through prediction gets the picture card too. That seemed right, since a camera is a poor tile either way.
  • Did not use computeAreaTileCardConfig because favorites render different state string.

Screenshots

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

Additional information

  • This PR fixes or closes issue: fixes #
  • This PR is related to issue or discussion:
  • Link to documentation pull request:
  • Link to developer documentation pull request:
  • Link to backend pull request:

Checklist

  • I understand the code I am submitting and can explain how it works.
  • The code change is tested and works locally.
  • There is no commented out code in this PR.
  • I have followed the perfect PR recommendations
  • Any generated code has been carefully reviewed for correctness and compliance with project standards.

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

To help with the load of incoming pull requests:

  • I have reviewed two other open pull requests in this repository.

Generated by Claude Code

Favorites rendered every entity as a tile, so a camera showed a small
round thumbnail instead of its picture. Give cameras the picture card
the area sections already use.

Replaces the tile config that the home overview, the common controls
section and the security view each built inline, so favorites render the
same way everywhere.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01PGaTMZkHP89siYzrA5zr2b
@balloob balloob added this to the 2026.9 milestone Aug 26, 2026
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.

2 participants