> For the complete documentation index, see [llms.txt](https://cupnoodles.gitbook.io/open-api/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://cupnoodles.gitbook.io/open-api/ch4/switch.md).

# Switch

This interface is used to turn on or turn off a specific device or a bunch of devices in the batch method.
