device:
  model: "Mi Band 7 / Mi Watch"
  mac_address: ""

auth:
  xiaomi_account: "tu_email@gmail.com"

sync_settings:
  frequency: "every_30_min"
  retry_on_fail: 3
  timeout: 30

metrics_to_pull:
  critical:
    - heart_rate_resting
    - heart_rate_current
    - sleep_duration
    - sleep_deep
    - sleep_light
    - sleep_rem
  important:
    - hrv
    - stress_level
    - steps
    - calories_burned
    - spo2
  optional:
    - workout_sessions
    - standing_time
    - distance_walked

data_validation:
  hr_resting:
    min: 40
    max: 100
  hr_current:
    min: 40
    max: 200
  sleep_duration:
    min: 3
    max: 12

alert_thresholds:
  hr_resting_increase: 10
  hr_resting_critical: 15
  sleep_duration_low: 6
  hrv_decrease: 20
