]> git.giacomolli.uk - onehouse/blob - driver/alamo/settings.go
Poll and command shared Alamo thermostats
[onehouse] / driver / alamo / settings.go
1 package alamo
2
3 import "time"
4
5 // Settings defines one gateway's complete thermostat list. PollInterval
6 // defaults to fifteen seconds when zero, and otherwise is from ten seconds
7 // through five minutes. Use exactly one driver and client owner per physical
8 // gateway. The constructor copies the list and performs no I/O.
9 type Settings struct {
10 PollInterval time.Duration
11 Thermostats []Thermostat
12 }