class Device
properties
.activeMode
zero indexed integer of the index of the currently active mode
type:
int

let mode = device.activeMode
				
.colors
collection of the rgb colors the device leds are set to (one per led)
type:
array<
color
>

let colors = device.colors
				
.description
description of the product
type:
string

let desctiption = device.desctiption
				
.leds
collection of the device's leds
type:
array<
led
>

let leds = device.leds
				
.modes
collection of the device's modes
type:
array<
mode
>

let modes = device.modes
				
.name
name of the product
type:
string

let name = device.name
				
.serial
???
type:
string

let serial = device.serial
				
.type
zero indexed integer showing the device's type, corresponding to the integers of the type list
type:
int

let type = device.type
				
.version
version of the product
type:
string

let version = device.version
				
.zones
collection of the device's zones
type:
array<zone>

let zones = device.zones