# deviceSetOnOff

**Type:** GraphQL mutations

## Arguments
- deviceId (ID)
- isOn (Boolean)
- commandSource (CommandSource): undefined


## Response
**Type:** DeviceSetOnOffPayload
**Description:**
undefined

### Fields
- device (Device)
- command (Command)
- errors (DeviceSetOnOffError)
