]> git.giacomolli.uk - onehouse/blob - driver/alamo/thermostat.go
Poll and command shared Alamo thermostats
[onehouse] / driver / alamo / thermostat.go
1 package alamo
2
3 // Thermostat maps one stable canonical device ID to one gateway MAC. MAC
4 // contains twelve hexadecimal digits and is normalized to lowercase. IDs and
5 // MAC values must be unique in the gateway list.
6 type Thermostat struct {
7 DeviceID string
8 MAC string
9 }