Push sensor values to MQTT

Did you investigate using node-red-contrib-home-assistant?

Rather than using automations to publish/push the sensor values, you use a node that already knows how to talk to Home Assistant (via its REST API). The “event-state” node will receive state-changes from the sensors.

If your sensors are publishing a JSON payload, it’s very easy to parse it in Node-Red (no need to filter it in Home Assistant).

There are many video tutorials available. Here’s one from The Hookup.

EDIT
There’s another version of node-red-contrib-home-assistant that communicates with Home Assistant via a websocket (vs HTTP). It’s called node-red-contrib-home-assistant-websocket and its advantages are described in this thread.