1
0
mirror of https://github.com/node-red/node-red-nodes.git synced 2023-10-10 13:36:58 +02:00

fixed typo in Temperature topic (sensorTag/Tempature to sensorTag/Temperature)

This will break existing flows that are filtering on topic
This commit is contained in:
Ben Hardill 2014-02-05 11:15:37 +00:00
parent 6457ef0ca6
commit 2723210922

View File

@ -51,7 +51,7 @@ function sensorTagNode(n) {
sensorTag.enableIrTemperature(function(){});
sensorTag.on('irTemperatureChange',
function(objectTemperature, ambientTemperature){
var msg = {'topic': node.topic + '/tempature'};
var msg = {'topic': node.topic + '/temperature'};
msg.payload = {'object': objectTemperature.toFixed(1),
'ambient':ambientTemperature.toFixed(1)
};