From 41301cdc15c6409ef94f6dfaeb02ba372c60cf2a Mon Sep 17 00:00:00 2001 From: Adrian Scillato <35405447+ascillato@users.noreply.github.com> Date: Wed, 18 Apr 2018 22:25:07 -0300 Subject: [PATCH] Update xsns_07_sht1x.ino --- sonoff/xsns_07_sht1x.ino | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/sonoff/xsns_07_sht1x.ino b/sonoff/xsns_07_sht1x.ino index 81613f22b..98837471b 100644 --- a/sonoff/xsns_07_sht1x.ino +++ b/sonoff/xsns_07_sht1x.ino @@ -203,8 +203,10 @@ void ShtShow(boolean json) #endif // USE_DOMOTICZ #ifdef USE_KNX - KNX_Sensor(KNX_temperature, t); - KNX_Sensor(KNX_humidity, h); + if (0 == tele_period) { + KnxSensor(KNX_TEMPERATURE, t); + KnxSensor(KNX_HUMIDITY, h); + } #endif // USE_KNX #ifdef USE_WEBSERVER