Skip to content

Commit

Permalink
fixxxxxes
Browse files Browse the repository at this point in the history
  • Loading branch information
dgaust authored Nov 15, 2021
1 parent c01d6e6 commit 1e401b1
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions apps/smarterzones/smarterzones.py
Original file line number Diff line number Diff line change
Expand Up @@ -228,8 +228,8 @@ def heatingorcooling(self, mode, zone):
else:
# Since we don't know if we're heating or cooling from the climate devices mode, we need to make our best guess
# Use target temp compared to external temperature to guess if it's heating or cooling
outside_temperature = self.get_state(self.exterior_temperature)
target_temperature = self.get_state(self.climate_device["temperature"])
outside_temperature = float(self.get_state(self.exterior_temperature))
target_temperature = float(self.get_state(self.climatedevice,"temperature"))
if outside_temperature > target_temperature:
self.queuedlogger("Estimated mode as cooling")
return ACMODE.COOLING
Expand Down

0 comments on commit 1e401b1

Please sign in to comment.