Update xsns_07_sht1x.ino

This commit is contained in:
Adrian Scillato 2018-04-18 22:25:07 -03:00 committed by GitHub
parent ed44c29839
commit 41301cdc15
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 4 additions and 2 deletions

View File

@ -203,8 +203,10 @@ void ShtShow(boolean json)
#endif // USE_DOMOTICZ #endif // USE_DOMOTICZ
#ifdef USE_KNX #ifdef USE_KNX
KNX_Sensor(KNX_temperature, t); if (0 == tele_period) {
KNX_Sensor(KNX_humidity, h); KnxSensor(KNX_TEMPERATURE, t);
KnxSensor(KNX_HUMIDITY, h);
}
#endif // USE_KNX #endif // USE_KNX
#ifdef USE_WEBSERVER #ifdef USE_WEBSERVER