- fixed display issue with oven temperature

This commit is contained in:
Jack Simbach 2020-12-30 19:59:43 -05:00
parent 47de3772ed
commit 3409ae9e03
1 changed files with 6 additions and 3 deletions

View File

@ -74,9 +74,12 @@ class GeOven(GeWaterHeater):
@property @property
def current_temperature(self) -> Optional[int]: def current_temperature(self) -> Optional[int]:
current_temp = self.get_erd_value("DISPLAY_TEMPERATURE") #DISPLAY_TEMPERATURE appears to be out of line with what's
if current_temp: #actually going on in the oven, RAW_TEMPERATURE seems to be
return current_temp #accurate.
#current_temp = self.get_erd_value("DISPLAY_TEMPERATURE")
#if current_temp:
# return current_temp
return self.get_erd_value("RAW_TEMPERATURE") return self.get_erd_value("RAW_TEMPERATURE")
@property @property