Turns out HomeAssistant only returns 10 days'data byault. This is a problem that we will havsoon. Now the cache doesn't reset eh time it only if some data is missing.
20 lines
513 B
Modula-2
Executable file
20 lines
513 B
Modula-2
Executable file
module ecodash
|
|
|
|
go 1.17
|
|
|
|
require (
|
|
github.com/gofiber/fiber/v2 v2.37.1
|
|
github.com/gofiber/template v1.7.1
|
|
github.com/mattn/go-sqlite3 v1.14.16
|
|
github.com/robfig/cron/v3 v3.0.1
|
|
)
|
|
|
|
require (
|
|
github.com/andybalholm/brotli v1.0.4 // indirect
|
|
github.com/klauspost/compress v1.15.0 // indirect
|
|
github.com/valyala/bytebufferpool v1.0.0 // indirect
|
|
github.com/valyala/fasthttp v1.40.0 // indirect
|
|
github.com/valyala/tcplisten v1.0.0 // indirect
|
|
golang.org/x/sys v0.0.0-20220227234510-4e6760a101f9 // indirect
|
|
)
|