[SOLVED] Change default icon for switch item?

Hi,

I would like to overrule the default icon in a Switch Item:

Switch AlarmSystem  "Alarm [%s]"  <alarmstatus>   (gAL, gSW) 

However the alarmstatus-on (-off) are never shown while they are in the correct directory.
Also the default format for icon is set to PNG (using paper-ui) in both basic and classic UI.
When I remove <alarmstatus> the standard icon is shown again.

Any thoughts?

I’m using the latest OH 2.4 software.

-ben

Problem solved: it seems there should be a ‘third’ icon without the -on or -off ‘extension’.
So I created alarmstatus.png and saved this in the same directory, all working now!

-ben

1 Like