Node-red question

  1. I have presure sensor and getting Mqtt msg in node-red. I have the formula how to convert to height. But how can I display it on hassio? If I define as sensor is hassio yaml how can I update it from node-red ?
    Do you have somebody an example ?
    Thx for your help.

WHy not just send it to HA as a MQTT message

Because that message is not correct, need to be converted. Altitude conversation.