mirror of https://github.com/arendst/Tasmota.git
Update xsns_14_sht3x.ino
This commit is contained in:
parent
f884115c8d
commit
b069abe57a
|
@ -111,6 +111,12 @@ void Sht3xShow(boolean json)
|
|||
DomoticzTempHumSensor(temperature, humidity);
|
||||
}
|
||||
#endif // USE_DOMOTICZ
|
||||
|
||||
#ifdef USE_KNX
|
||||
KNX_Sensor(KNX_temperature, t);
|
||||
KNX_Sensor(KNX_humidity, h);
|
||||
#endif // USE_KNX
|
||||
|
||||
#ifdef USE_WEBSERVER
|
||||
} else {
|
||||
snprintf_P(mqtt_data, sizeof(mqtt_data), HTTP_SNS_TEMP, mqtt_data, types, temperature, TempUnit());
|
||||
|
@ -151,4 +157,4 @@ boolean Xsns14(byte function)
|
|||
}
|
||||
|
||||
#endif // USE_SHT3X
|
||||
#endif // USE_I2C
|
||||
#endif // USE_I2C
|
||||
|
|
Loading…
Reference in New Issue