I’m working on a custom component using the light platform. An entity is created for each light and they successfully display in Lovelace and I’m able to control them. However, a device entry is not created for these lights meaning I’m unable to use them in automations. What do I need to define in my component to make these lights appear as devices?
To answer my own question after reading the HA code, an integration needs to use a config flow to have devices configured. It’s not clear to me why this is necessary, but I assume this is what must be implemented to solve my problem.