fix(pkg/logfile): read and write logfiles from json with measured value interface
This commit is contained in:
@ -23,7 +23,7 @@ var listTemperatureCmd = &cobra.Command{
|
||||
log.Fatalln(err)
|
||||
}
|
||||
|
||||
logfile := logfile.New(cnf)
|
||||
logfile := logfile.New(cnf.Device.TemperatureLogfile)
|
||||
|
||||
measuredValues, err := logfile.Read()
|
||||
if err != nil {
|
||||
|
Reference in New Issue
Block a user