Merge pull request #9 from davehutz/KILN-009

Fix cost calculation
This commit is contained in:
davehutz 2023-09-27 17:37:17 -06:00 committed by GitHub
commit dba7b69ddd
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -555,7 +555,7 @@ class RealOven(Oven):
# self.heat is for the front end to display if the heat is on
self.heat = 0.0
if heat_on > 0:
self.heat = 1.0
self.heat = heat_on
if heat_on:
self.output.heat(heat_on)