Having issues calling the climate.set_temperature service

I’ve tried searching but every thread I find where someone has posted a working config seems to match mine but I’m still not having any success. The UI also seems to be slightly different now to the other threads I’ve found ( This one and this one) but I’ve used the same format for the data
{“temperature”: 24}
I’ve tried the 24 with and without quotes, I’ve tried putting spaces between things, taking them away, I’ve tried using an expression instead of JSON, but I keep getting either a syntax error for the colon (or the 24 if I remove the colon) or an outright refusal to acknowledge the temperature call I’m trying to make as seen in the debug messages in the attached image.

What am I doing wrong? I changed the service call to switch on some lights using the same trigger and it worked first time so it has to be the format I’m using for the temperature data.
Creating an automation in the main Home Assistant UI to call the climate.set_temperature service also works perfectly, though editing the yaml file to check the format isn’t much help as the layout is completely different and the relevant line still just says
temperature: 24

Any ideas?

Never mind, I had to go into the more detailed “edit JSON” screen and enter the data there, after which it worked even though the Data box looks exactly the same.

and what exactly did you enter? I have the same problem.