Repository navigation
openGym 0.11.1
What's new since 0.11.0
A hardening release before going live in production: everything that broke or reported wrong numbers in real-world testing. No new features, no migration — existing entity IDs keep working.
Fixed
- WebSocket errors:
opengym:detailandopengym:progressanswered with a hard error while the first poll hadn't finished; muscle details and the progress card now show a clean "not ready" message. - Weigh-in units: a pound weigh-in on a kilogram profile (or vice versa) switched the whole profile's unit and flipped every weight sensor. Units are now converted to the profile's unit and never overwritten — in the service, the device action and voice alike.
- Voice safety: open-ended weight sentences like "record …" could capture unrelated commands; every sentence now requires a weight or unit, and typos are spoken back instead of failing silently.
- 1RM consistency: sensor, progress card and long-term statistics now use the same Epley calculation and skip warm-up and unticked sets.
- Time zones: "today", rest days, week values and the week rollover used the container's date (often UTC in Docker) instead of Home Assistant's — up to two hours off around midnight. Now all of them follow HA's time zone.
- Volume sensor:
volume_this_weekwastotal_increasing, which produced negative gaps in long-term statistics at every Monday reset; now a plain measurement. - Presence attributes: a
nullexercise index from openGym could make the active-workout sensor unavailable. - Auto webhook: a connection created without a revealed secret was re-created on every reload, piling up duplicates in openGym.
- Week card: several workouts on one day now merge into one entry.
- History calendar: descriptions use Home Assistant's language, umlauts included.
- Coach: exercise ids are compared as text (number vs. string no longer drops changes).
- Progress card: accounts without strength data showed "unreachable" instead of an empty card.
- Rest-timer slider: only restores a value you actually set in Home Assistant after a restart; otherwise it keeps following openGym's setting.
- Update entity: robust against malformed answers; "v1.2.3" is treated as "1.2.3".
Documentation
- README modernised: Quick Start section, architecture overview, grouped troubleshooting, Markdown tables (rendered correctly on GitHub).
Testing
- 90 logic tests + 13 tests against a real Home Assistant core, both green.