Espex.Wizard.Entity (espex v0.12.0)

Copy Markdown View Source

An entity of this device that a wizard page shows the user, for example a switch to turn on.

  • key — the key the entity has in its ListEntities*Response
  • device_id — the device_id of that response; 0 (the default) for the main device
  • description — optional text shown with it, up to 255 bytes

Summary

Types

t()

(since 0.12.0)
@type t() :: %Espex.Wizard.Entity{
  description: String.t() | nil,
  device_id: non_neg_integer(),
  key: non_neg_integer()
}