View Source Grizzly.ZWave.Commands.SwitchMultilevelReport (grizzly v8.6.6)

Module for the SWITCH_MULTILEVEL_REPORT

Params:

  • :value - :off, 0 (off) and 99 (100% on), or :unknown
  • :duration - How long the switch should take to reach target value, 0 -> instantly, 1..127 -> seconds, 128..253 -> minutes, 255 -> unknown (optional v2)

Summary

Types

param()

@type param() :: {:value, 0..99 | :off | :unknown} | {:duration, non_neg_integer()}

Functions

encode_value(value)