From 21846cfe3d3224f45542ee9e13f03992157e00df Mon Sep 17 00:00:00 2001 From: Alberto Geniola Date: Tue, 3 Nov 2020 20:08:09 +0100 Subject: [PATCH] Exposed limiter --- meross_iot/manager.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/meross_iot/manager.py b/meross_iot/manager.py index 56701acd..e2068618 100644 --- a/meross_iot/manager.py +++ b/meross_iot/manager.py @@ -238,6 +238,10 @@ def __init__(self, requests_per_second_limit, requests_per_second_limit) + @property + def limiter(self) -> RateLimitChecker: + return self._limiter + def register_push_notification_handler_coroutine(self, coro: Callable[ [GenericPushNotification, List[BaseDevice]], Awaitable]) -> None: """