Cool.
You said the you have the icon presented but not correctly. I cant see even that result. And that is because of the water-percent icon is not part of the set of icons provided by node red dashboard as offline set of icons. So to get it working, there is couple of options.
- Add link to the site head and load the material-design icons from cdn.
- Use iconify icons
- Download (some form of) the icon and serve it from static folder.
First two require the setup is connected to he internet. (basically all the time or at least when the dashboard is used)
Third one take many steps to be made correctly and even then it is kind of complicated and depends...
For first one - there is how it works
[{"id":"3e3ebdf4.0a50a2","type":"ui_text","z":"f56ccabd.7567e8","group":"a1b48177.63b91","order":6,"width":"2","height":"1","name":"","label":"text","format":"<span class=\"mdi mdi-water-percent mdi-24px\"></span>","layout":"row-spread","x":310,"y":900,"wires":[]},{"id":"cbd1080f.7f97a8","type":"ui_template","z":"f56ccabd.7567e8","group":"a1b48177.63b91","name":"","order":7,"width":0,"height":0,"format":"<link rel=\"stylesheet\" href=\"https://cdnjs.cloudflare.com/ajax/libs/MaterialDesign-Webfont/5.9.55/css/materialdesignicons.min.css\"/>","storeOutMessages":true,"fwdInMessages":true,"resendOnRefresh":true,"templateScope":"global","x":320,"y":940,"wires":[[]]},{"id":"a1b48177.63b91","type":"ui_group","name":"Default","tab":"c122ecdc.526d7","order":1,"disp":true,"width":"6","collapse":false},{"id":"c122ecdc.526d7","type":"ui_tab","name":"Home","icon":"dashboard","disabled":false,"hidden":false}]