My HACS integration is able to discover its device by itself, but I’m looking for the way how I trigger this discovery by itself, like the built-in discoveries do.
The discovery mechanism is DPWS, which is like SSDP but slightly different.
Currently, it’s set up through the UI, after which the user can choose the option to set it up automatically. Alternatively I could ask the user to add a line in YAML, then get called through async_setup_entry
, do the discovery and invoke the config_flow that way.
In brief, I’m looking to be called by HA during startup, without the user having to do anything, so that I can notify the user of our discovered integrations.