From 5daa1f8d6a728b62022c3fb9d9afd595019b5321 Mon Sep 17 00:00:00 2001
From: Andrea Parenti <andrea.parenti@xfel.eu>
Date: Mon, 20 Jan 2025 12:30:40 +0100
Subject: [PATCH] Changed allowed states

---
 src/tempus/Tempus.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/tempus/Tempus.py b/src/tempus/Tempus.py
index 329655e..ef4f28d 100644
--- a/src/tempus/Tempus.py
+++ b/src/tempus/Tempus.py
@@ -206,7 +206,7 @@ class Tempus(Device):
         displayedName="Initialize",
         description="Run the initialization sequence. This can take about "
                     "30 s",
-        allowedStates={State.INIT})
+        allowedStates={State.INIT, State.ON})
     async def initialize(self):
         self.state = State.CHANGING
         self.status = "Initializing TEMPUS"
-- 
GitLab