Grizzly.ZWave.Commands.SwitchMultilevelSet (grizzly v0.15.6) View Source

Module for the SWITCH_MULTILEVEL_SET

Params:

  • :target_value - ':off, :previous or a value betweem 1 and 99
  • :duration - How long the switch should take to reach target value, 0 -> instantly, 1..127 -> seconds, 128..254 -> minutes, 256 -> factory default (option v2)

Link to this section Summary

Link to this section Types

Specs

param() :: {:target_value, non_neg_integer()} | {:duration, non_neg_integer()}

Link to this section Functions

Link to this function

encode_target_value(target_value)

View Source