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

Module for the SWITCH_BINARY_REPORT command

Params:

  • :target_value - :on, :off, or :unknown (required)
  • :duration - 0-255 (required V2)
  • :current_value - :on, :off, or :unknown (required V2)

Link to this section Summary

Link to this section Types

Specs

param() ::
  {:target_value, value()} | {:duration, byte()} | {:current_value, value()}

Specs

value() :: :on | :off | :unknown

Link to this section Functions

Link to this function

encode_target_value(atom)

View Source