]> git.giacomolli.uk - onehouse/blob - driver/alamo/action.go
Poll and command shared Alamo thermostats
[onehouse] / driver / alamo / action.go
1 package alamo
2
3 // Action selects at most one change. Nil fields read the current state. The
4 // driver sends power and target changes separately to preserve their order.
5 // TargetTemperature is finite degrees Celsius. The caller retains the pointers.
6 type Action struct {
7 Power *bool
8 TargetTemperature *float64
9 }