From 6c50b81bff814a9a49a2f6b2a26264b09039385b Mon Sep 17 00:00:00 2001 From: Andrey Date: Thu, 4 Mar 2021 16:22:33 +0300 Subject: [PATCH] remove scl --- custom_components/mega/hub.py | 1 + 1 file changed, 1 insertion(+) diff --git a/custom_components/mega/hub.py b/custom_components/mega/hub.py index 124b4f7..78efea4 100644 --- a/custom_components/mega/hub.py +++ b/custom_components/mega/hub.py @@ -593,6 +593,7 @@ class MegaD: ret['i2c'][port].extend(parsed) i2c_sensors.extend(req) elif cfg.pty == '4' and cfg.m == '2': + # scl исключаем из сканирования continue elif cfg.pty in ('3', '2', '4'): http_cmd = 'get'