From 89e50fc31d6036ca521b2f63e5ac3dfbddb1ed9d Mon Sep 17 00:00:00 2001 From: Dirk Alders Date: Fri, 22 Dec 2023 06:46:52 +0100 Subject: [PATCH] heartbeat warning and error time changed for tradfri button --- z_server/devices/__init__.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/z_server/devices/__init__.py b/z_server/devices/__init__.py index bc8c413..8355af6 100644 --- a/z_server/devices/__init__.py +++ b/z_server/devices/__init__.py @@ -169,7 +169,8 @@ class tradfri_sw_br_ct(base): class tradfri_button(base): - pass + LAST_MSG_WARNING = 15 * 60 * 60 + LAST_MSG_ERROR = 24 * 60 * 60 class livarno_sw_br_ct(base):