You can use both, ESPHome is managed by the same group who develop Home Assistant so most people with HA tend to use ESPHome, you can use Tasmota as well, but you might have to add the device manually if it is not autodetecting. I have a couple of Tasmota plugs and they work fine.