Skip to content

Commit

Permalink
When aa wakes up, it checks and updates state
Browse files Browse the repository at this point in the history
  • Loading branch information
jessicamillar committed Dec 22, 2024
1 parent dd9b279 commit 33d02b4
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions gw_spaceheat/actors/atomic_ally.py
Original file line number Diff line number Diff line change
Expand Up @@ -171,8 +171,7 @@ def process_message(self, message: Message) -> Result[bool, BaseException]:
# state. Note it will always be coming from HomeAlone
# WakeUp: Dormant -> WaitingNoElec ... will turn off heat pmp
self.trigger_event(AtomicAllyEvent.WakeUp)
self.log("Updating relays.")
self.update_relays(previous_state=AtomicAllyState.Dormant.value)
self.check_and_update_state()
case WeatherForecast():
self.log("Received weather forecast")
self.weather = {
Expand Down

0 comments on commit 33d02b4

Please sign in to comment.