Simple template for HVAC

Ok, everything else works.

But it seems i need a template for the HVAC to set the state to idle || heat depending on the “current_temperature_topic”.

But i don’t even know where to begin with.

Can anyone point me to the right direction, or give me an example.

Thanks.

Which climate integration are you using?

i am creating mvac via discovery, and it seems the trigger logic ¿lays withn this topic?