[BREAKING] remove tem key (#883)

* [BREAKING] remove tem key

we rely now on tempc and tempf only
This commit is contained in:
Florian authored and GitHub committed 2021-03-03 18:38:37 -06:00
1 parent be5a93a91a
commit a6fb17595e
8 files changed
+3 -33

No files matched your search

-1
View File
@@ -105,7 +105,6 @@ void sendTemperatureData(byte id, float temperature, int humidity, byte battery_
StaticJsonBuffer<JSON_MSG_CALC_BUFFER> jsonBuffer;
JsonObject& RFdata = jsonBuffer.createObject();
RFdata.set("sensor", id);
RFdata.set("temperature", temperature); // remove for 0.9.6 release
RFdata.set("tempc", temperature);
RFdata.set("tempf", wsdr.convertCtoF(temperature));
RFdata.set("humidity", humidity);