Status

{{ if .DeviceStatus }} On {{ else }} Off {{ end }}

Start a new session

Active sessions

{{ range $session := .Sessions }} {{/* 1 second */}} {{ end }}
ID Description Created at Exists for Actions
{{ $session.Id }} {{ $session.Description }} {{ $session.CreatedAt.Format "02.01.2006 15:04:05" }} {{ $session.ExistsFor.Round 1000000000 }}