From 4046217f543c79bd5a36e5ab32383253dfdfcd5d Mon Sep 17 00:00:00 2001 From: Alexey Zholtikov Date: Tue, 9 Jul 2024 14:26:37 +0300 Subject: [PATCH] Minor changes for compatibility with the new version of zh_config --- main/zh_gateway.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/main/zh_gateway.c b/main/zh_gateway.c index 9d07ba0..0f9ea9b 100755 --- a/main/zh_gateway.c +++ b/main/zh_gateway.c @@ -1705,7 +1705,7 @@ void zh_espnow_sensor_send_mqtt_json_status_message(const zh_espnow_data_t *devi case HAST_DHT: case HAST_AHT: case HAST_SHT: - case HAST_HTU21D: + case HAST_HTU: case HAST_HDC1080: sprintf(temperature, "%f", device_data->payload_data.status_message.sensor_status_message.temperature); zh_json_add(&json, "temperature", temperature);