Update xsns_04_snfsc.ino

This commit is contained in:
Adrian Scillato 2018-04-18 22:23:57 -03:00 committed by GitHub
parent 386d62630f
commit 8c5a650826
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 4 additions and 2 deletions

View File

@ -132,8 +132,10 @@ void SonoffScShow(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