From 3787dc53d0c3e0e5d3e864b9d4fc1003ff43e79c Mon Sep 17 00:00:00 2001 From: Jessica Millar Date: Sat, 4 Jan 2025 10:17:30 -0500 Subject: [PATCH] fix another typo --- gw_spaceheat/actors/scada.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/gw_spaceheat/actors/scada.py b/gw_spaceheat/actors/scada.py index 29b87f6f..bcd620c1 100644 --- a/gw_spaceheat/actors/scada.py +++ b/gw_spaceheat/actors/scada.py @@ -853,8 +853,8 @@ def single_machine_state_received(self, payload: SingleMachineState) -> None: self._data.recent_machine_states[payload.MachineHandle] = MachineStates( MachineHandle=payload.MachineHandle, StateEnum=payload.StateEnum, - UnixMsList=prev.UnixMsList.append(payload.UnixMs), - StateList=prev.StateList.append(payload.State) + UnixMsList=prev.UnixMsList + [payload.UnixMs], + StateList=prev.StateList + [payload.State] ) else: self._data.recent_machine_states[payload.MachineHandle] = MachineStates(