Problem with knx icons in template sensor

im trying to use the “KNX User Forum Icon Set” from HACS to create a template sensor that changes its icon according the sensor state.

when using mdi icons the icons are displayed correctly in the frontend.

using knx icons the result looks like an overlay of multiple icons.
image

instead of any of the four it should show
image

this is awkward :sunglasses:

in the meantime I was able to find my way to the appropriate github repo …

this is an known problem stemming from the conversion method used to create the plugin

in the issue there is a corrected js-file that fixes the problem for me.

But it looks like the correction didn’t make its way into HACS yet.

sorry for the noice

I have the same problem and would be interested in a solution.

have a look here: https://github.com/mampfes/ha-knx-uf-iconset/issues/3

this is the related github issue. it contains a preliminary version of the underlying js-file

on the other hand: the solution should be available on HACS in the next days/weeks

1 Like