ESPHome acting as MQTT bridge

Guys i use Node Red (an external version not integrated into HA) for all of my Home Automation.

I am slowly moving the front end functionality across to HA and am starting to use ESPhome in replacement of Tasmota on some devices.

I currently have Tasmota on a couple of ESP32 devices monitoring BLE XIAOMI temp sensors and sending that on to Node Red through MQTT.

I would like to migrate this functionality across to ESPHome.

Is there a way to take incoming values in ESPHome and send them on to an MQTT broker so i can perform a gradual migration ?

Craig

Yep MQTT Client Component — ESPHome

Good one thanks Nick

Craig