Help with MQTT Discovery

Hello fellow HA users. I need some help with setting up MQTT Trigger. I can’t get Device Trigger added through Discovery for some reason, and it’s driving me crazy. We can eliminate the broker since I am able to add a Switch using MQTT Discovery, but with some difficulty. I am using Switch as a test since I think the “device” parameter required for Trigger is not required for the Switch and I can successfully get a Switch to show up through Discovery. I am testing on a separate build as to not muck up my main installation, so I changed the discovery prefix to “ha”. Here is my config topic:

ha/switch/study/00035/config

I can add a MQTT Switch through Discovery using minimal parameters, like command topic with the simple payload:

{
   "command_topic":"/test/command/"
}

As soon as I try to add the “device” parameter, no switch shows up. I am also using a unique object_ID for each attempt. Here is that json:

{
   "command_topic":"/test/command/",
   "device":{
      "name":"testing35"
   }
}

I’m not a json expert, but this looks correct and I even checked it through several sites and it appears to be correct. What am I missing? I think this is the reason Device Trigger through Discovery is not working: the “device” parameter is required in the json payload and I can’t get it to work, even in a Switch.

Something else that appears weird to me is that according to the Device Trigger documentation, the config topic for Device Trigger is:

<discovery_prefix>/device_automation/[<node_id>/]<object_id>/config

Why is it not:

<discovery_prefix>/device_trigger/[<node_id>/]<object_id>/config

I tried both, neither work for me.

I appreciate any help. Thank you.