From 47bd90bb357b2565a246966b7ab5ae8472b05886 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jan-Ole=20H=C3=BCbner?= Date: Mon, 13 May 2024 20:08:22 +0200 Subject: [PATCH] feat: adding timeout --- pulse.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pulse.py b/pulse.py index 0a7f5b6..f5dc325 100644 --- a/pulse.py +++ b/pulse.py @@ -52,7 +52,7 @@ def timeout_handler(signum, frame): @home.event("live_measurement") async def show_current_power(data): - signal.alarm(0) + signal.alarm(8) _incoming(data) def stop(home):