mirror of
https://github.com/This-weiyuqing/mi-fitness-health.git
synced 2026-10-18 03:03:49 +08:00
Add Mi Fitness sleep and workout sync support
This commit is contained in:
1 parent
6440121d67
commit
62be8dfc2b
3 files changed
+230
-4
No files matched your search
@@ -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)")
|
||||
|
||||
Reference in new issue
Block a user