# deviceSetNightSwitch **Type:** GraphQL mutations ## Arguments - deviceId (ID) - nightSwitch (Boolean) - commandSource (CommandSource): undefined ## Response **Type:** DeviceSetNightSwitchPayload **Description:** undefined ### Fields - device (Device) - command (Command) - errors (DeviceSetNightSwitchError)