Versions in this module Expand all Collapse all v0 v0.15.2 Mar 10, 2024 v0.15.1 Jan 21, 2024 v0.15.0 Jan 16, 2024 Changes in this version + type AutoAwayConfiguration struct + Delay time.Duration + Users []string + func (c AutoAwayConfiguration) IsActive() bool + type Configuration struct + Home HomeConfiguration + Zones []ZoneConfiguration + func Load(r io.Reader) (Configuration, error) + type HomeConfiguration struct + AutoAway AutoAwayConfiguration + type LimitOverlayConfiguration struct + Delay time.Duration + func (c LimitOverlayConfiguration) IsActive() bool + type NightTimeConfiguration struct + Timestamp Timestamp + func (c NightTimeConfiguration) IsActive() bool + type Timestamp struct + Active bool + Hour int + Minutes int + Seconds int + func (t *Timestamp) UnmarshalYAML(value *yaml.Node) error + func (t Timestamp) MarshalYAML() (any, error) + type ZoneConfiguration struct + Name string + Rules ZoneRuleConfiguration + type ZoneRuleConfiguration struct + AutoAway AutoAwayConfiguration + LimitOverlay LimitOverlayConfiguration + NightTime NightTimeConfiguration + func (c ZoneRuleConfiguration) IsActive() bool