Skip to content

Release 2.6.7: fix altitude sensor decimal precision (issue #137) - #138

Merged
kmich merged 1 commit into
mainfrom
claude/ha-ws-core-review-aa7c12
Aug 17, 2026
Merged

Release 2.6.7: fix altitude sensor decimal precision (issue #137)#138
kmich merged 1 commit into
mainfrom
claude/ha-ws-core-review-aa7c12

Conversation

@kmich

@kmich kmich commented Aug 17, 2026

Copy link
Copy Markdown
Owner

Fixes #137.

Cloud Base and Freezing Level are stored internally in metres and converted to the user's display unit (e.g. feet), but neither had a suggested_display_precision, so Home Assistant showed the raw converted float (e.g. 1234.56789 ft) instead of a whole number. Both now round to 0 decimal places for display, matching the other altitude-based sensors.

  • Bumped manifest.json and pyproject.toml to 2.6.7
  • Updated CHANGELOG.md

🤖 Generated with Claude Code

Cloud Base and Freezing Level are stored internally in metres and
converted to the user's display unit, but neither had a
suggested_display_precision, so Home Assistant showed the raw
converted float (e.g. 1234.56789 ft) instead of a whole number.
Both now round to 0 decimal places for display, matching the other
altitude-based sensors.

Fixes #137

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
@kmich
kmich merged commit fb41d77 into main Aug 17, 2026
10 checks passed
@kmich
kmich deleted the claude/ha-ws-core-review-aa7c12 branch August 17, 2026 05:04
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.

Altitude sensors report to five decimal places

1 participant