From 5367c77dd3a822e0e75663ef2658a5e3aa5f4faa Mon Sep 17 00:00:00 2001 From: Jason Antman Date: Mon, 23 Oct 2023 12:02:27 -0400 Subject: [PATCH] add battery events --- py_vista_turbo_serial/events.py | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/py_vista_turbo_serial/events.py b/py_vista_turbo_serial/events.py index f18ff8d..a286ee6 100644 --- a/py_vista_turbo_serial/events.py +++ b/py_vista_turbo_serial/events.py @@ -225,3 +225,13 @@ class FaultEvent(SystemEvent): class FaultRestoreEvent(SystemEvent): NAME: str = 'Fault Restore' CODE: int = 0x2c + + +class LowBatteryExtended(SystemEvent): + NAME: str = 'Low Battery' + CODE: int = 0x29 + + +class LowBatteryRestoreExtended(SystemEvent): + NAME: str = 'Low Battery Restore' + CODE: int = 0x2a