VirtualRow is not mapped to the rowing sport family
Problem
SPORT_FAMILIES in examples/sync.py has no entry for the activity type VirtualRow, so indoor rowing falls through .get(type, "other") and is classified as other.
ErgData to Intervals.icu as VirtualRow, not Rowing.
Suggested fix
Cycling and ski already pair their Virtual* variants with the outdoor type; rowing is the one family missing that pairing:
SPORT_FAMILIES = {
...
"Rowing": "rowing",
"VirtualRow": "rowing", # add
...
}
SUSTAINABILITY_POWER_TYPES = {
"cycling": ["Ride", "VirtualRide"],
"ski": ["NordicSki", "VirtualSki"],
"rowing": ["Rowing", "VirtualRow"], # add
}
SUSTAINABILITY_HR_TYPES = {
"cycling": ["Ride", "VirtualRide"],
"ski": ["NordicSki", "VirtualSki"],
"rowing": ["Rowing", "VirtualRow"], # add
}
Caveat - Claude opened these PRs for me, that was not intentional. I need to fix a global permissions.
Fixed in 691935e, released as sync.py v3.125 / protocol v11.57.
VirtualRow now maps to the rowing sport family and is included in both rowing sustainability type lists, so it inherits rowing-family behavior for monotony, sustainability curves, interval fetching, and sport thresholds.
Verified with synthetic coverage for the mapping, interval eligibility, and threshold collision handling.
Thanks for the report.