Assistanr Sdk with variables that change via button input

I want ro integrate my duux heater into HA but that is as far as i know impossible.

So i thought of taking a thermostat button and then changing the buttons to send out an assistant sdk command where it says
For example: set bedroom temperature to [variable from the button]

Do you guys know if that is possible? Or how i can archive this