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