# `Grizzly.ZWave.CommandClasses.ThermostatSetback`
[🔗](https://github.com/smartrent/grizzly/blob/v9.1.4/lib/grizzly/zwave/command_classes/thermostat_setback.ex#L1)

"ThermostatSetback" Command Class

The Thermostat Setback Command Class is used to change the current state of a non-schedule setback
thermostat.

# `state`

```elixir
@type state() :: number() | :frost_protection | :energy_saving
```

# `type`

```elixir
@type type() :: :no_override | :temporary_override | :permanent_override
```

# `decode_state`

```elixir
@spec decode_state(byte()) :: {:ok, state()} | {:error, Grizzly.ZWave.DecodeError.t()}
```

# `decode_type`

```elixir
@spec decode_type(byte()) :: {:ok, type()} | {:error, Grizzly.ZWave.DecodeError.t()}
```

# `encode_state`

```elixir
@spec encode_state(state()) :: byte()
```

# `encode_type`

```elixir
@spec encode_type(type()) :: byte()
```

---

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