Communicating from Addon to Home Assistant: MQTT vs Registered Integration

ie: I had an addon as a web application on another device as a web page dashboard before actually turning it to an addon that ran in ha and it was communication via mqtt to ha but i figured for some needed features it not only needs to run in ha but have an integration it auto installs and make sensors among other things