mirror of
https://github.com/home-assistant/core.git
synced 2025-07-19 19:27:45 +00:00
Skip timestamp check of the SIA events (#100660)
This commit is contained in:
parent
92694c53e0
commit
91fcbb41b0
@ -28,7 +28,6 @@ from .utils import get_event_data_from_sia_event
|
|||||||
_LOGGER = logging.getLogger(__name__)
|
_LOGGER = logging.getLogger(__name__)
|
||||||
|
|
||||||
DEFAULT_TIMEBAND = (80, 40)
|
DEFAULT_TIMEBAND = (80, 40)
|
||||||
IGNORED_TIMEBAND = (3600, 1800)
|
|
||||||
|
|
||||||
|
|
||||||
class SIAHub:
|
class SIAHub:
|
||||||
@ -100,7 +99,7 @@ class SIAHub:
|
|||||||
SIAAccount(
|
SIAAccount(
|
||||||
account_id=a[CONF_ACCOUNT],
|
account_id=a[CONF_ACCOUNT],
|
||||||
key=a.get(CONF_ENCRYPTION_KEY),
|
key=a.get(CONF_ENCRYPTION_KEY),
|
||||||
allowed_timeband=IGNORED_TIMEBAND
|
allowed_timeband=None
|
||||||
if a[CONF_IGNORE_TIMESTAMPS]
|
if a[CONF_IGNORE_TIMESTAMPS]
|
||||||
else DEFAULT_TIMEBAND,
|
else DEFAULT_TIMEBAND,
|
||||||
)
|
)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user