I’m creating an integration that polls data from devices.
It should allow for adding multiple devices, where each device has some connection data which should be supplied by the user.
Ideally I would like an Add Device button like the Z-Wave / ZigBee integrations have, but I don’t think this is possible with a custom integration?
As of now I have the possibility to add multiple instances of the integration (which creates multiple config_entries), but this is a rather ugly setup.
What would be the best way to achieve what I want? I’m considering storing data in the config options / options flow if there isn’t a better way to do it, but this seems a bit “hacky” as well.