Driver with more then one default icon

Hi, I’m working on an app where the same driver can control different versions of a device. I would like to associate more than one default icon to the driver so that the user, once the device is added to Homey, can choose the right icon. Is it possible or a driver can have only one icon?

Simone

Yes, it’s possible, and (somewhat) documented here: https://apps.developer.homey.app/the-basics/devices/pairing#device-pairing-data

In the device pairing data, you can set which icon should be used for the device.

I’m fairly sure though that when you want to offer the user a choice of which icon to use, you need to use a custom pairing view: Custom Views | Homey Apps SDK

Thanks Robert, this can help me but i need (if possible) to have more than one custom icon for a single device. Is it possible?

I don’t think it’s possible to add more “default” icons, you have to let the user choose the preferred icon during the pairing process, like I described.

It’s not possible to add more than one icon.
The icon defined while pairing is not changeable if the device is created.

I asked for a simple addition but got no answer yet.

1 Like