From 85143808491dd77ad76e0d397062db46815551cb Mon Sep 17 00:00:00 2001 From: MultiMote <contact@mmote.ru> Date: Sun, 20 Oct 2024 17:49:09 +0300 Subject: [PATCH] Rename AutoShutdownTime values --- src/packets/index.ts | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) diff --git a/src/packets/index.ts b/src/packets/index.ts index 66a8ca5..6a73949 100644 --- a/src/packets/index.ts +++ b/src/packets/index.ts @@ -124,10 +124,14 @@ export enum HeartbeatType { } export enum AutoShutdownTime { - Shutdown15min = 1, - Shutdown30min = 2, - Shutdown45min = 3, - Shutdown60min = 4, + /** Usually 15 minutes. */ + ShutdownTime1 = 1, + /** Usually 30 minutes. */ + ShutdownTime2 = 2, + /** May be 45 or 60 minutes (depending on model). */ + ShutdownTime3 = 3, + /** May be 60 minutes or never (depending on model). */ + ShutdownTime4 = 4, } /** Battery charge level */