Minor changes for compatibility with the new version of zh_config

This commit is contained in:
2024-07-09 14:26:37 +03:00
parent db48e73003
commit 4046217f54

View File

@ -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);