Skip to content

Commit

Permalink
Merge pull request #155 from m4dm4rtig4n/master
Browse files Browse the repository at this point in the history
Add PR
  • Loading branch information
m4dm4rtig4n committed Nov 30, 2022
2 parents 30ebc92 + 8c4ba6e commit 8423b50
Showing 1 changed file with 1 addition and 11 deletions.
12 changes: 1 addition & 11 deletions app/models/export_mqtt.py
Original file line number Diff line number Diff line change
Expand Up @@ -227,16 +227,6 @@ def load_detail_data(self, begin, end, price_hp, price_hc, sub_prefix):
"week_euro": {},
"this_month_watt": 0,
"this_month_euro": 0
},
"base": {
"this_year_watt": 0,
"this_year_euro": 0,
"month_watt": {},
"month_euro": {},
"week_watt": {},
"week_euro": {},
"this_month_watt": 0,
"this_month_euro": 0
}
}

Expand Down Expand Up @@ -357,4 +347,4 @@ def detail_linear(self, price_hp, price_hc=0):
idx = idx + 1
app.LOG.log(" => Finish")
else:
app.LOG.log(" => No data")
app.LOG.log(" => No data")

0 comments on commit 8423b50

Please sign in to comment.