mirror of
https://github.com/arendst/Tasmota.git
synced 2025-07-25 11:46:31 +00:00
Update xsns_08_htu21.ino
This commit is contained in:
parent
baa25c75cc
commit
f5fb170bc3
@ -266,8 +266,10 @@ void HtuShow(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
|
||||
@ -309,3 +311,4 @@ boolean Xsns08(byte function)
|
||||
|
||||
#endif // USE_HTU
|
||||
#endif // USE_I2C
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user