You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
feat: add achievements and trophies endpoints, disable unavailable sensors
- Add extract_achievements_model() parser for profile/achievements.data
endpoint. Counts earned vs total achievements and sums coins/XP from
completed achievements across all categories.
- Add extract_trophies_model() parser for profile/trophies.data endpoint.
Counts total trophies earned.
- Add AchievementsSummary and TrophiesSummary models.
- Add async_get_achievements() and async_get_trophies() API methods.
- Wire achievements and trophies into coordinator update cycle.
- Rewire career_achievements sensor to use dedicated achievements endpoint
(was speculative via CareerStats; now uses real earned_achievements count).
- Rewire career_trophies sensor to use dedicated trophies endpoint.
- Disable 5 sensors with no known API endpoint (total_coins,
career_total_distance, career_total_elevation, career_total_time,
career_total_activities) with TODO(unavailable-endpoint) markers.
- Update CLI career command to fetch and display achievements/trophies
from their dedicated endpoints.
- Add 12 new parser unit tests for achievements and trophies extraction.
- Update all affected tests (CLI, HA integration, sensor tests).
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
0 commit comments