mirror of
https://github.com/alexbelgium/hassio-addons.git
synced 2026-05-04 08:04:57 +02:00
Update weekly_stats.yaml
This commit is contained in:
3
.github/workflows/weekly_stats.yaml
vendored
3
.github/workflows/weekly_stats.yaml
vendored
@@ -131,13 +131,14 @@ jobs:
|
|||||||
print str
|
print str
|
||||||
}
|
}
|
||||||
}' Stats3 > StatsTmp && mv StatsTmp Stats3
|
}' Stats3 > StatsTmp && mv StatsTmp Stats3
|
||||||
|
sed -i "1d" Stats3
|
||||||
# Plot graph
|
# Plot graph
|
||||||
sudo apt-get install gnuplot-nox -y
|
sudo apt-get install gnuplot-nox -y
|
||||||
gnuplot-nox -persist <<-EOFMarker
|
gnuplot-nox -persist <<-EOFMarker
|
||||||
set xdata time
|
set xdata time
|
||||||
set timefmt "%y-%m-%d"
|
set timefmt "%y-%m-%d"
|
||||||
set format x "%y-%m-%d"
|
set format x "%y-%m-%d"
|
||||||
plot for [i=1:*] 'Stats3' using 0:i with lines title 'Column '.i
|
plot for [i=1:*] 'Stats3'
|
||||||
set term png
|
set term png
|
||||||
set output "stats.png"
|
set output "stats.png"
|
||||||
replot
|
replot
|
||||||
|
|||||||
Reference in New Issue
Block a user