mirror of
https://github.com/alexbelgium/hassio-addons.git
synced 2026-02-27 22:10:30 +01:00
Update helper_stats_graphs.yaml
This commit is contained in:
2
.github/workflows/helper_stats_graphs.yaml
vendored
2
.github/workflows/helper_stats_graphs.yaml
vendored
@@ -138,6 +138,8 @@ jobs:
|
|||||||
print str
|
print str
|
||||||
}
|
}
|
||||||
}' StatsTmp > StatsTmp2 && mv StatsTmp2 StatsTmp
|
}' StatsTmp > StatsTmp2 && mv StatsTmp2 StatsTmp
|
||||||
|
#Normalize data
|
||||||
|
awk 'FNR==NR{max=($2+0>max)?$2:max;next} {print $1,$2/max}' StatsTmp StatsTmp
|
||||||
# Plot graph
|
# Plot graph
|
||||||
( gnuplot-nox -persist <<-EOFMarker
|
( gnuplot-nox -persist <<-EOFMarker
|
||||||
set title "$TITLE"
|
set title "$TITLE"
|
||||||
|
|||||||
Reference in New Issue
Block a user