Repository navigation
openGym 0.11.3
What's new since 0.11.2
The hardening release after a deep review of the whole integration — every Python module and the 1800-line muscle card read line by line, every suspicious spot re-proved with executable counter-checks. No new features, no migration; entity IDs unchanged.
Fixed
- Pairing twice is now impossible: the config flow's unique id is the hashed openGym user id, so adding the same account a second time aborts with "already configured" instead of creating a duplicate integration entry.
- Cleaner errors:
trigger_test_eventwithout a webhook connection in openGym shows a readable "No webhook connection found" dialog instead of a generic "Unexpected error". weekStarteverywhere: openGym's "week starts on Sunday" setting moved only the week streak — week volume, workout counts, weekly muscle sets, the week/plan cards and the history heatmap disagreed with it. Every weekly window now follows the setting.- Statistics import: the whole history was re-fed into the recorder on every revision bump, even when only settings or the plan changed. A history fingerprint now skips imports that would not change anything.
total_lifting: deleting a workout in openGym made thetotal_increasingcounter book a negative jump in long-term statistics; it is a plain measurement now.
Housekeeping
- Removed dead weight: the unused
PRESENCE_MAX_AGEconstant and the never-readpending_eventslist.
Testing
- 100 logic tests + 21 tests against a real Home Assistant core, both green; 9 of them new for this release (stable unique id with abort on second pairing, clean service error, statistics-once, weekStart windows,
total_liftingstate class).