Honeywell Api Client v0.1.1 Honeywell.Thermostat.Thermostat

This module defines the actions that can be taken on the Thermostat endpoint.

Summary

Types

error :: {:error, binary, Integer}
fatal :: {:error, binary}
t :: %Honeywell.Thermostat.Thermostat{device_id: binary, location_id: binary, temperature: float}

Functions

from_map(location_id)

Specs

from_map(binary) :: (%{} -> t)
from_map(location_id, device_id)

Specs

from_map(binary, binary) :: (%{} -> t)
get(location_id, device_id)

Specs

get(binary, binary) :: {:ok, t} | error | fatal
post(location_id, device_id, list)

Specs

post(binary, binary, Keyword.t) ::
  {:ok, :ok} |
  error |
  fatal