fix: renamed packages

This commit is contained in:
2018-11-21 20:48:10 +01:00
parent 6d9368e86c
commit 1672663944
15 changed files with 206 additions and 121 deletions

View File

@@ -50,7 +50,16 @@ type Remote struct {
}
type WireSensor struct {
ID string `json:"sensor_id"`
Name string `json:"sensor_name"`
WirePath string `json:"wire_path"`
ID string `json:"sensor_id"`
Name string `json:"sensor_name"`
Typ SensorType `json:"sensor_typ"`
GPIO int `json:"gpio_number"`
WirePath string `json:"wire_path"`
}
type SensorType string
const (
SENSOR_DS18B20 SensorType = "DS18B20"
SENSOR_DHT11 = "DHT11"
)