steps method

DeviceOutputCommand steps(
  1. int steps
)

Creates a command using a device-native integer value.

The value is validated against the feature's advertised range when sent.

Implementation

DeviceOutputCommand steps(int steps) {
  return DeviceOutputCommand(_outputType, PercentOrSteps.fromSteps(steps), null);
}