From 69d55cbf725bc9f0a14b2ec1f32a42105c85bf9a Mon Sep 17 00:00:00 2001 From: Jason Wen Date: Sat, 16 Nov 2024 16:21:42 -0500 Subject: [PATCH] always emit user disable --- sunnypilot/mads/state.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sunnypilot/mads/state.py b/sunnypilot/mads/state.py index c6458665e3..d3fc741caf 100644 --- a/sunnypilot/mads/state.py +++ b/sunnypilot/mads/state.py @@ -36,7 +36,7 @@ class StateMachine: self.state = State.paused else: self.state = State.disabled - self.add_current_alert_types(ET.USER_DISABLE) + self.ss_state_machine.current_alert_types.append(ET.USER_DISABLE) elif events.contains(ET.IMMEDIATE_DISABLE): self.state = State.disabled