# `Grizzly.ZWave.Commands.SwitchBinaryReport`
[🔗](https://github.com/smartrent/grizzly/blob/v9.1.4/lib/grizzly/zwave/commands/switch_binary_report.ex#L1)

Module for the SWITCH_BINARY_REPORT command

Params:

  * `:target_value` - `:on`, `:off`, or `:unknown` (required)
  * `:current_value` - `:on`, `:off`, or `:unknown` (required V2)
  * `:duration` - How long in seconds the switch should take to reach target value or the factory default (:default)
                  Beyond 127 seconds, the duration is truncated to the minute. E.g. 179s is 2 minutes and 180s is 3 minutes
                  (required V2)

# `param`

```elixir
@type param() ::
  {:target_value, value()}
  | {:duration, Grizzly.ZWave.Encoding.duration()}
  | {:current_value, value()}
```

# `value`

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

---

*Consult [api-reference.md](api-reference.md) for complete listing*
