my_sensors v0.2.0 MySensors.Sensor

Sensor Object

Link to this section Summary

Link to this section Types

Link to this type t()
t() :: %MySensors.Sensor{
  __meta__: term(),
  child_sensor_id: integer(),
  id: term(),
  inserted_at: term(),
  node: term(),
  node_id: term(),
  sensor_values: [MySensors.SensorValue.t()],
  type: String.t(),
  updated_at: term()
}

Link to this section Functions

Link to this function changeset(sensor, params \\ %{})