3rd Party UDP board

I have a 16 channel UDP controlled I/O board.
I use node red to monitor the state of the inputs and if for example input 1 changes state I broadcast via MQTT and I can see this change in home assistant when monitoring the topic. My issue is that I don't understand how to display this state change in a dashboard or if you can create a binary sensor manually.
I have scoured you tube and the forum and would be very grateful of assistance.

Thank you in anticipation
Andrew

You can use an MQTT node to subscribe to the topic and feed the value to a ui_text node.

Many thanks
I will give that a try

Andrew