Add kWH cost to daily email
This commit is contained in:
@@ -118,8 +118,10 @@ class Cost
|
||||
title = "Verbruikskosten (incl. belastingen en BTW) - %s" % date.strftime("%A, %e %B %Y")
|
||||
xlabel = "uur"
|
||||
ylabel = "EUR"
|
||||
GR.savefig("easy_cost_%s.png" % date.strftime("%F"), title: title, xlabel: xlabel, ylabel: ylabel)
|
||||
GR.savefig("plots/easy_cost_%s.png" % date.strftime("%F"), title: title, xlabel: xlabel, ylabel: ylabel)
|
||||
|
||||
# return the sum cost
|
||||
costs.sum
|
||||
end
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user