From e9d201a2c3af9d34aa62fd258d9806e008467683 Mon Sep 17 00:00:00 2001 From: Luis Teixeira Date: Tue, 10 Mar 2020 00:26:24 +0000 Subject: [PATCH] Fixed issue during the call to ResponseAppend_P (was passing a primitive instead of pointer to the expected string) --- tasmota/xsns_92_hdc1080.ino | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tasmota/xsns_92_hdc1080.ino b/tasmota/xsns_92_hdc1080.ino index d1a5175b0..1e045c9a8 100644 --- a/tasmota/xsns_92_hdc1080.ino +++ b/tasmota/xsns_92_hdc1080.ino @@ -227,7 +227,7 @@ void HdcShow(bool json) { dtostrfd(hdc_humidity, Settings.flag2.humidity_resolution, humidity); if (json) { - ResponseAppend_P(JSON_SNS_TEMPHUM, hdc_device_id, temperature, humidity); + ResponseAppend_P(JSON_SNS_TEMPHUM, hdc_type_name, temperature, humidity); #ifdef USE_DOMOTICZ if (0 == tele_period) { DomoticzTempHumSensor(temperature, humidity);