Add Mi Fitness sleep and workout sync support

This commit is contained in:
binglua committed 2026-06-21 11:45:53 +00:00
1 parent 6440121d67
commit 62be8dfc2b
3 files changed
+230 -4

No files matched your search

+1 -1
View File
@@ -162,7 +162,7 @@ def main():
sync_parser = subparsers.add_parser("sync", help="Sync data from source")
sync_parser.add_argument(
"--type",
choices=["daily_activity", "body_measurements", "heart_rate"],
choices=["daily_activity", "body_measurements", "heart_rate", "sleep", "workouts"],
help="Type of data to sync",
)
sync_parser.add_argument("--start-date", help="Start date (YYYY-MM-DD)")