Skip to content

fix: add missing state_class to Jupiter and B2500 V2 sensors#312

Merged
tomquist merged 1 commit into
developfrom
claude/awesome-meitner-rgMkk
Jun 4, 2026
Merged

fix: add missing state_class to Jupiter and B2500 V2 sensors#312
tomquist merged 1 commit into
developfrom
claude/awesome-meitner-rgMkk

Conversation

@tomquist
Copy link
Copy Markdown
Owner

@tomquist tomquist commented Jun 4, 2026

Completes the state_class additions from #311 for the remaining devices:

  • Jupiter: BMS capacity (energy_storage) and charge voltage (voltage) were missing state_class: measurement.
  • B2500 V2: solar input voltage/current, output voltage/current and host/extra battery voltage/current sensors were missing state_class: measurement.

Without state_class, Home Assistant does not record long-term statistics for these sensors and the State of Charge sensors cannot be added to the Energy Dashboard battery configuration introduced in HA 2026.6.

fixes #310

Completes the state_class additions from #311 for the remaining devices:

- Jupiter: BMS capacity (energy_storage) and charge voltage (voltage)
  were missing state_class: measurement.
- B2500 V2: solar input voltage/current, output voltage/current and
  host/extra battery voltage/current sensors were missing
  state_class: measurement.

Without state_class, Home Assistant does not record long-term statistics
for these sensors and the State of Charge sensors cannot be added to the
Energy Dashboard battery configuration introduced in HA 2026.6.

fixes #310
@coderabbitai
Copy link
Copy Markdown

coderabbitai Bot commented Jun 4, 2026

Warning

Review limit reached

@tomquist, we couldn't start this review because you've reached your PR review rate limit.

More reviews will be available in 13 minutes and 1 second. Learn how PR review limits work.

Your organization has run out of usage credits. Purchase more in the billing tab.

⌛ How to resolve this issue?

After more reviews become available, a review can be triggered using the @coderabbitai review command as a PR comment. Alternatively, push new commits to this PR.

We recommend that you space out your commits to avoid hitting the rate limit.

🚦 How do rate limits work?

CodeRabbit enforces hourly rate limits for each developer per organization.

Our paid plans include higher PR review limits than trial, open-source, and free plans. In all cases, reviews become available again over time. During sustained high-volume PR review activity, CodeRabbit may temporarily slow when the next review becomes available.

Please see our Fair Usage Limits Policy for further information.

ℹ️ Review info
⚙️ Run configuration

Configuration used: Organization UI

Review profile: CHILL

Plan: Pro

Run ID: e5f1c9a0-2200-4782-a9d0-2cb4f4054452

📥 Commits

Reviewing files that changed from the base of the PR and between c1a4577 and 806a94f.

📒 Files selected for processing (3)
  • CHANGELOG.md
  • src/device/b2500V2.ts
  • src/device/jupiter.ts
✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch claude/awesome-meitner-rgMkk

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands and usage tips.

@tomquist tomquist merged commit be29bd8 into develop Jun 4, 2026
13 checks passed
@michikrug
Copy link
Copy Markdown
Contributor

Thanks for the quick merge and sorry for my dumb claude missing those ^^ :D

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.

3 participants