What's Changed
- feat: add pr_count metric sensor and pr_segments/kom_segments list attributes to activity sensors, surfacing Strava PR and KOM/QOM achievements with no extra API calls
- fix: achievement_count and pr_count now read from the activity detail endpoint instead of Strava's list endpoint, which could report stale or zero values
- fix: activity detail fetches now request all segment efforts (include_all_efforts=true), so achievements aren't under-reported
- feat: renamed the "Trophies" sensor to "Achievements" to match Strava's terminology; upgrading installs keep their existing entity ID so history and automations aren't affected, only the displayed name changes
- docs: note that Strava appears to only populate achievement/segment-effort fields for activities visible to Everyone
- docs: note that hidden Strava map visibility prevents route/polyline data from being returned, even for the athlete's own activities
Full Changelog: 4.4.0...4.5.0