I added device_trigger.py as described here to my custom component: Device Triggers | Home Assistant Developer Docs (home-assistant.io)
However the file is never loaded and the contained methods never get called. I see a github issue for HA core that said exactly the same thing back in 2020 that was resolved completed with ‘Not all features are available for custom components at this moment in time.’.
Is it still impossible for custom components to have device triggers?