From 3faa8ad77f2e68283ebd8bc315d6fbe2ade8bbf2 Mon Sep 17 00:00:00 2001 From: Andrea Rosci Date: Tue, 14 May 2024 15:16:38 +0200 Subject: [PATCH] Update device overall status Change-type: major --- balena/models/device.py | 15 +++++++++------ 1 file changed, 9 insertions(+), 6 deletions(-) diff --git a/balena/models/device.py b/balena/models/device.py index 34a659c0..0fd78653 100644 --- a/balena/models/device.py +++ b/balena/models/device.py @@ -88,12 +88,15 @@ class DeviceStatus: Balena device statuses. """ - IDLE = "Idle" - CONFIGURING = "Configuring" - UPDATING = "Updating" - OFFLINE = "Offline" - POST_PROVISIONING = "Post Provisioning" - INACTIVE = "Inactive" + IDLE = "idle" + CONFIGURING = "configuring" + UPDATING = "updating" + OFFLINE = "offline" + POST_PROVISIONING = "post-provisioning" + INACTIVE = "inactive" + OPERATIONAL = "operational", + DISCONNECTED = "disconnected", + REDUCED_FUNCTIONALITY = "reduced-functionality" class Device: