chore: minor
This commit is contained in:
parent
f09b558339
commit
c2fc6ff297
1 changed files with 1 additions and 1 deletions
|
|
@ -65,7 +65,7 @@ render: |
|
|||
source: http
|
||||
uri: https://api.forecast.solar/{{ if .apikey }}{{ .apikey }}/{{ end }}estimate/{{ .lat }}/{{ .lon }}/{{ .dec }}/{{ .az }}/{{ .kwp }}?time=utc&full=1&resolution=60{{ if .horizon }}&horizon={{ .horizon }}{{ end }}
|
||||
jq: |
|
||||
[ .result.watt | to_entries.[] | {
|
||||
[ .result.watts | to_entries.[] | {
|
||||
"start": (.key | strptime("%FT%T%z") | strftime("%FT%TZ")),
|
||||
"end": (.key | strptime("%FT%T%z") | mktime+3600 | strftime("%FT%TZ")),
|
||||
"price": .value
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue