fix: renamed packages
This commit is contained in:
@@ -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"
|
||||
)
|
||||
|
Reference in New Issue
Block a user