Update ZgatewayWeatherStation.ino (#592)
Line44: typo (paried > paired)
This commit is contained in:
1 parent
125e7d4f70
commit
470790b42e
1 file changed
+1
-1
@@ -41,7 +41,7 @@ void PairedDeviceAdded(byte newID)
|
|||||||
StaticJsonBuffer<JSON_MSG_CALC_BUFFER> jsonBuffer;
|
StaticJsonBuffer<JSON_MSG_CALC_BUFFER> jsonBuffer;
|
||||||
JsonObject &RFdata = jsonBuffer.createObject();
|
JsonObject &RFdata = jsonBuffer.createObject();
|
||||||
RFdata.set("sensor", newID);
|
RFdata.set("sensor", newID);
|
||||||
RFdata.set("action", "paried");
|
RFdata.set("action", "paired");
|
||||||
pub(subjectRFtoMQTT, RFdata);
|
pub(subjectRFtoMQTT, RFdata);
|
||||||
wsdr.pair(NULL, PairedDeviceAdded);
|
wsdr.pair(NULL, PairedDeviceAdded);
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in new issue
Block a user