Open
Description
What happened?
I am currently programming a usermod for the BMP680 sensor. I noticed that there is no space between the value and the unit on the info screen. In my opinion, this is a design bug. Because a unit must not contain a space. If you use the same units for HomeAssistant, you get an error message because of the space.
To Reproduce Bug
See the screen shot above
Expected Behavior
Spaces between value and unit
Install Method
Self-Compiled
What version of WLED?
WLED 0.14.1 build 2401141
Which microcontroller/board are you seeing the problem on?
ESP32
Relevant log/trace output
No response
Anything else?
I have already solved the problem for myself.
File: wled00/data/index.js
Line: 668
urows += inforow(k,val[0],val[1]);
changed to:
urows += inforow(k,val[0]," "+val[1]);
Code of Conduct
- I agree to follow this project's Code of Conduct