Dimmy

Rules

Configured automation rules with triggers and receivers.

Dashboard
{{ range .Rules }} {{ else }} {{ end }}
Triggers Receivers
{{ $last := "" }} {{ range .Triggers }}
{{ if ne .Device.GetName $last }} {{ $last = .Device.GetName }} {{ .Device.GetIconHtml }} {{ .Device.GetName }} {{ end }}
{{ .Key }} {{ .Condition.Operator }} {{ .Condition.Value }}
{{ end }}
{{ $last := "" }} {{ range .Receivers }}
{{ if ne .Device.GetName $last }} {{ $last = .Device.GetName }} {{ .Device.GetIconHtml }} {{ .Device.GetName }} {{ end }}
{{ .Key }}: {{ .Value }}
{{ end }}
No rules configured.