Multiline sensors

Hi all.

Does anyone know a way to create a multiline sensor with templete like the nest sensor?


is this possible? I would like to make a current/setpoint sensor but with mqtt.