Skip to content

v0.6.1 housekeeping: version metadata, translations parity, FuelLevelSensor cleanup, and docs/test debt - #332

Merged
binarydev merged 1 commit into
mainfrom
chore/v061-housekeeping
Nov 21, 2026
Merged

binarydev merged 1 commit into
mainfrom
chore/v061-housekeeping

Conversation

@binarydev

Copy link
Copy Markdown
Owner

Summary

Housekeeping release v0.6.1 addressing the post-v0.6.0 backlog items:

  • Version metadata: Bump manifest.json to 3-part SemVer 0.6.1 and sync const.VERSION so STARTUP_MESSAGE reports 0.6.1 instead of 0.0.0.
  • Translations parity & cleanup:
    • Add all 26 missing keys (issues.*, services.boost_polling.*, remember_password, and polling data_description) and updated auth error guidance to fr.json, nb.json, and pt.json.
    • Remove the stale "switch" option label from en.json, fr.json, nb.json, and pt.json.
  • Sensor & code cleanup:
    • Remove legacy SensorDeviceClass.BATTERY from propane FuelLevelSensor and use mdi:propane-tank (preserving entity_key, % unit, and MEASUREMENT state class).
    • Fix copy-pasted async_setup_entry docstrings in sensor.py, weather.py, and image.py.
    • Update _test_local_access.py to the v2 Auth0/DPoP GeneracAuth + GeneracApiClient interface (with interactive MFA support).
  • Documentation & tests:
    • Fix entity keys (show_warning, last_reading), add weather/image rows, clarify entity_key vs. friendly entity IDs, and update Fair Warning polling defaults and typo in README.md and info.md.
    • Eliminate duplicate setup calls logging "already been setup!" errors in tests/test_init.py.
    • Add regression tests for manifest.json ↔ const.VERSION parity, translation key/placeholder parity across all locales, and FuelLevelSensor metadata.

Testing

  • pytest --maxfail=3 --disable-warnings --color=yes --no-cov — 182 passed (Python 3.14.10, pytest-homeassistant-custom-component==0.13.375).
  • pre-commit run --all-files --show-diff-on-failure — all hooks passed (flake8, reorder-python-imports, black, prettier, YAML/EOF/whitespace checks).

@binarydev
binarydev merged commit 38f73c3 into main Nov 21, 2026
4 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.

1 participant