Hi All,
Not great with Python scripting and need a hand with some basic maths to calculate my E7 electric cost.
I have the following variables:
E7DayRate
E7NightRate
E7Standing
SmappeeTodayCost
SmappeeTodayDaykWh
SmappeeTodayMorningkWh
SmappeeTodayNightkWh
I'm looking for a script that will do the following:
((SmappeeTodayDaykWh - SmappeeTodayNightkWh) * E7DayRate) + ((SmappeeTodayNightkWh - SmappeeTodayMorningkWh) * E7NightRate) + E7Standing = SmappeeTodayCost