Change the thermostat temperature, using Telegram

I am trying to have telegram send me a message if I want the thermostat set on a specific temperature.
The goal here is to have an inline keyboard to choose between some presets eg. from 17.0°C to 25.0°C.
The stepping is 0.5°C and I am thinking that this will take a lot of effort creating too many automations (18 to be precise) and also a very large inline keyboard in Telegram.

Is there a way to make this easy in the eye? Can I avoid the creation of lots of automations for each temperature set?
Templating maybe?
What I currently have is only 4 options for the temperature and 4 automations for each user answer.

  inline_keyboard:
    - 17.0°C:/thermostat17, 19.0°C:/thermostat19
    - 21.0°C:/thermostat21, 23.0°C:/thermostat23