sending kwh_rate and currency_type to the client for cost calculations

This commit is contained in:
jbruce12000 2021-06-10 11:17:43 -04:00
parent 9ebc17cc06
commit 1e2c73f810

View File

@ -272,6 +272,8 @@ class Oven(threading.Thread):
'state': self.state,
'heat': self.heat,
'totaltime': self.totaltime,
'kwh_rate': config.kwh_rate,
'currency_type': config.currency_type,
'profile': self.profile.name if self.profile else None,
}
return state