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

Module for the SWITCH_MULTILEVEL_SET

Params:

  * `:target_value` - '`:off`, `:previous` or a value between 0 and 99
  * `: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
                  (optional v2)

# `param`

```elixir
@type param() ::
  {:target_value, :off | :previous | 0..99}
  | {:duration, Grizzly.ZWave.Encoding.duration()}
```

---

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