HI all,
I am working on some custom widgets, implemented on HabPanel via the Template Widget. E.g. I have a “Network monitoring” widget, checking all my network devices like router, nas, etc. with the Network binding (pingdevice). Based on the state of the Item (On/Off) I want to show an custom icon (icon-on.svg / icon-off.svg). Putting the item in the switch widget an adding a custom icon in the custom ion picker works fine for me, but i dont now how to address the custom icon in the template widget.
This is the code using a standard item:
Ok thanks, will try and let you know. Maybe this is a good workaround. My question on how to address the custom icons in the conf/icon folder within an template widget is still open…