Set mqtt device to a special value

Sorry that does not match. All of this is done by the device, it has it own Display and input posibilitiy. With hass I only want to have an additional remote control. So the what I need is.
get the actual temperatur - works
get the actual state of heater - works
start stop heating - works (the stable temperature ist only needed for some hours, so that interval has to be started on possibly stopped before end of configured time)
get the time passed - works
set target temperature - ? how
set start time - ? how (the device has the actual time from my time local server)
set working time - ? how
just need on sample how to send (publish) a number to the device via mqtt

Tanks