"""Request body shapes for REST write endpoints. Player commands (play/pause/volume/sleep/etc.) are published over MQTT directly for low latency, so their payload shapes live in `yoto_api.v3.mqtt.client`. Only settings writes go through REST. """ from typing import Any, Dict, Iterable from ..models.config import Alarm def encode_alarm(alarm: Alarm) -> str: """Encode one Alarm to Yoto's comma-separated wire format. `,