Skip to content

Commit

Permalink
Update smarterzones.py
Browse files Browse the repository at this point in the history
  • Loading branch information
dgaust authored Jun 2, 2022
1 parent ee35109 commit b5f0418
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions apps/smarterzones/smarterzones.py
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,6 @@ def initialize(self):
# setup listeners for temp change in the room, and changng the climate device temp change for each zone
self.listen_state(self.target_temp_change, zone['target_temp'])
self.listen_state(self.inroomtempchange, zone['local_tempsensor'])
zone['lasttemp'] = 0
try:
self.listen_state(self.manual_override_change, zone['manual_override'])
except:
Expand Down Expand Up @@ -100,7 +99,6 @@ def inroomtempchange(self, entity, attribute, old, new, kwargs):
self.queuedlogger(zone["name"] + ": temperature increased by " + str(diff) + " degree")
else:
self.queuedlogger(zone["name"] + ": temperature decreased by " + str(diff * -1) + " degree")
zone.lasttemp = old
self.automatically_manage_zone(zone)

def manual_override_change(self, entity, attribute, old, new, kwargs):
Expand Down

0 comments on commit b5f0418

Please sign in to comment.