sending kwh_rate and currency_type to the client for cost calculations
This commit is contained in:
parent
9ebc17cc06
commit
1e2c73f810
@ -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
|
||||
|
||||
Loading…
Reference in New Issue
Block a user