Skip to content

Add integration icon and show the version - #3

Merged
PeterSlijkhuis merged 1 commit into
mainfrom
claude/project-thread-1p9qg3
Sep 26, 2026
Merged

PeterSlijkhuis merged 1 commit into
mainfrom
claude/project-thread-1p9qg3

Conversation

@PeterSlijkhuis

@PeterSlijkhuis PeterSlijkhuis commented Sep 26, 2026 •

Copy link
Copy Markdown
Owner

Before: Home Assistant showed "icon not available" for Battery ROI, and the integration's entities had no version anywhere in the UI.

After: Battery ROI has a green battery icon with a euro sign and an upward trend line. Its entities sit on a "Battery ROI" service device that shows the version (0.2.1).

How: The icon ships in custom_components/battery_roi/brand/ (icon.png and icon@2x.png), which Home Assistant 2026.3+ serves in place of the brands CDN. The sensors and the reset button set sw_version and entry_type=SERVICE on their device info. The version is bumped to 0.2.1, the README version badge now reads the latest GitHub release, and an FAQ entry covers older Home Assistant versions that won't show the icon.

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01PiGiPtXKiLnKVAJBQztQsV
@PeterSlijkhuis
PeterSlijkhuis marked this pull request as ready for review September 26, 2026 10:01
@PeterSlijkhuis
PeterSlijkhuis merged commit b49e2a1 into main Sep 26, 2026
2 checks passed
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