I think you should start by getting rid of the “homeassistant parameter” that you set. You’re manually creating configuration files, so you won’t need auto-discovery stuff.
Then see what the output from zigbee2mqtt is.
Do you mean the zigbee2mqtt service?
Here is a very simple configuration for a lightbulb via zigbee2mqtt, which might help:
And a slightly more advanced configuration for a switch/button: