From c2be780b75e32250a27b7afc177b8c56380fe030 Mon Sep 17 00:00:00 2001 From: Marcel Hoppe Date: Thu, 4 Oct 2018 09:52:24 +0200 Subject: [PATCH] Disable the cache_timeout in the MiFloraPoller (#25) --- workers/miflora.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/workers/miflora.py b/workers/miflora.py index d0d0f42..d50ae9f 100644 --- a/workers/miflora.py +++ b/workers/miflora.py @@ -13,7 +13,7 @@ class MifloraWorker(BaseWorker): for name, mac in self.devices.items(): - self.devices[name] = MiFloraPoller(mac, BluepyBackend) + self.devices[name] = MiFloraPoller(mac, BluepyBackend, cache_timeout=0) def status_update(self): ret = []