It's number, not integer, stupid

This commit is contained in:
simonox 2023-02-23 17:50:47 +01:00
parent 1fd507ceff
commit d171ac731c
1 changed files with 1 additions and 1 deletions

View File

@ -61,7 +61,7 @@ In Node-RED we will be passing the power consumption number through MQTT.
![Overview](./docs/images/influx-flow.png)
By default this will be passed as a string, so we need to create a function to convert it into an integer before storing it in InfluxDB.
By default this will be passed as a string, so we need to create a function to convert it into a Number before storing it in InfluxDB.
Add a function node to the page and put the following code into the node: