set_band_alarm
Set or update a Mi Band alarm by time and weekday, preserving other alarms and verifying the write with a read-back.
Instructions
Create or update one band alarm, preserving other alarms and verifying by read-back.
time is HH:MM in the band's local wall clock. weekdays uses ISO Monday=1..Sunday=7; [] means once, all seven means daily. Omit alarm_id to create; provide a listed ID to update that existing alarm. Supply the complete desired time/weekdays/enabled values. timezone labels the wall clock; it does not change the band's timezone. A lost write response is reconciled by reading back, never by blindly repeating the write. timeout_seconds: 5..90.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| time | Yes | ||
| enabled | No | ||
| alarm_id | No | ||
| timezone | No | ||
| weekdays | Yes | ||
| timeout_seconds | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||