From 91fcbb41b0d5f0666d64c0a6d6d770875afee6af Mon Sep 17 00:00:00 2001 From: amitfin Date: Wed, 27 Sep 2023 16:13:38 +0300 Subject: [PATCH] Skip timestamp check of the SIA events (#100660) --- homeassistant/components/sia/hub.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/homeassistant/components/sia/hub.py b/homeassistant/components/sia/hub.py index 859841d3bea..9ba7a19a9be 100644 --- a/homeassistant/components/sia/hub.py +++ b/homeassistant/components/sia/hub.py @@ -28,7 +28,6 @@ from .utils import get_event_data_from_sia_event _LOGGER = logging.getLogger(__name__) DEFAULT_TIMEBAND = (80, 40) -IGNORED_TIMEBAND = (3600, 1800) class SIAHub: @@ -100,7 +99,7 @@ class SIAHub: SIAAccount( account_id=a[CONF_ACCOUNT], key=a.get(CONF_ENCRYPTION_KEY), - allowed_timeband=IGNORED_TIMEBAND + allowed_timeband=None if a[CONF_IGNORE_TIMESTAMPS] else DEFAULT_TIMEBAND, )