mirror of
https://github.com/alexbelgium/hassio-addons.git
synced 2026-05-18 14:51:50 +02:00
Update helper_stats_graphs.yaml
This commit is contained in:
5
.github/workflows/helper_stats_graphs.yaml
vendored
5
.github/workflows/helper_stats_graphs.yaml
vendored
@@ -161,8 +161,8 @@ jobs:
|
|||||||
# If non null
|
# If non null
|
||||||
if [[ ${#FOLDER} -gt 2 ]]; then
|
if [[ ${#FOLDER} -gt 2 ]]; then
|
||||||
cp Stats3 StatsTmp
|
cp Stats3 StatsTmp
|
||||||
sed -n "/Date/p" Stats3 > StatsTmp
|
sed -n "/Date/p" Stats3 > "$FOLDER"/StatsTmp
|
||||||
sed -n "/$TITLE/p" Stats3 >> StatsTmp
|
sed -n "/$TITLE/p" Stats3 >> "$FOLDER"/StatsTmp
|
||||||
# Transpose data
|
# Transpose data
|
||||||
awk '
|
awk '
|
||||||
{
|
{
|
||||||
@@ -211,6 +211,7 @@ jobs:
|
|||||||
plot for [i=2:*] 'StatsTmp' using 1:i w l title columnhead(i)
|
plot for [i=2:*] 'StatsTmp' using 1:i w l title columnhead(i)
|
||||||
EOFMarker
|
EOFMarker
|
||||||
)
|
)
|
||||||
|
rm StatsTmp
|
||||||
cd .. || true
|
cd .. || true
|
||||||
fi
|
fi
|
||||||
done
|
done
|
||||||
|
|||||||
Reference in New Issue
Block a user