put back ioniq 6 future bills, but use bill data to set values - assumption at present is they are yearly bills, could do better, but good enough for now. This commit also changes selects to return bill_type not bill_type_id and removed some debugs for bill amt in calc loop

This commit is contained in:
2025-09-05 12:20:08 +10:00
parent ebac4aaf66
commit c5cfc00793
4 changed files with 34 additions and 22 deletions

View File

@@ -306,7 +306,7 @@ def process_bill_data(bd, bt, bf):
bill_info={}
for bill in bd:
bill_type = bill['bill_type_id']
bill_type = bill['bill_type']
if bill['bill_date'] == 'future':
print("Having a future data - skip this one")
continue