Scene.hsv constructor

const Scene.hsv({
  1. required int hue,
  2. required int saturation,
  3. required int brightness,
})

Change the device to specified color and brightness.

Implementation

const Scene.hsv({
  required int hue,
  required int saturation,
  required int brightness,
}) : this(
        sceneClass: const SceneClass.hsv(),
        val1: hue,
        val2: saturation,
        val3: '$brightness',
      );