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

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)

Summary

Types

param()

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

value()

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

Functions

encode_target_value(atom)