Set icon of USAGE device to OFF
Posted: Friday 20 October 2023 12:04
I have a plugin, using USAGE, VOLTAGE, ... devices.
As the devices can be used to drive different equipment, the custom icons are not part of the plugin. They are uploaded with the GUI and changed by editing the device.
I am looking now to switch the icon to "OFF" state (eg when there is no power).
So far this would only be possible with a workaround creating another set of customer items (inverse logic).
But this means that the icon switch must be driving by the plugin. While the plugin has no knowledge about which icon is used.
Is there any possibility to change the icon to "OFF" for such devices?
Thanks,
As the devices can be used to drive different equipment, the custom icons are not part of the plugin. They are uploaded with the GUI and changed by editing the device.
I am looking now to switch the icon to "OFF" state (eg when there is no power).
So far this would only be possible with a workaround creating another set of customer items (inverse logic).
But this means that the icon switch must be driving by the plugin. While the plugin has no knowledge about which icon is used.
Is there any possibility to change the icon to "OFF" for such devices?
Thanks,