View Source PorscheConnEx.Struct.Overview.Windows (porsche_conn_ex v0.1.0)

Structure containing information about the open/closed state of all windows.

Fields

  • front_left (open status)
  • front_right (open status)
  • back_left (open status)
  • back_right (open status)
  • maintenance_hatch (open status)
  • roof (open status)
  • sunroof (struct)
    • position (integer) — the sunroof open position as a percent value
    • status (open status)

All "open status" fields will be either :open, :closed, or nil if not present on the vehicle.

Summary

Types

@type open_status() :: :open | :closed | nil
@type t() :: %PorscheConnEx.Struct.Overview.Windows{
  back_left: open_status(),
  back_right: open_status(),
  front_left: open_status(),
  front_right: open_status(),
  maintenance_hatch: open_status(),
  roof: open_status(),
  sunroof: open_status()
}