Switch Source
switch_sourceSwitch a room between music, TV audio (soundbar HDMI/optical) and line-in. All three go through Sonos' cloud, so the user doesn't need to be home or have the app open; TV picks a soundbar with a TV input, line-in picks a speaker with a line-in port. Only if the cloud can't switch to TV does it fall back to the ZoneFoundry app on the home Wi-Fi.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| room | Yes | Room name as shown in the Sonos app (usually English, e.g. "Living Room"). Common Chinese aliases (客厅/主卧) also resolve. Omit for the default room. | |
| source | Yes |