Rest_command & variable in payload not working

Hi,

I notice that the variable is never replaced by the value assigned during service call:

rest_command:
  mediaruimte_dimmer:
    url: http://192.168.0.13:8081/outputs/bec5-8/state
    method: PUT
    payload: '{"bri": {{ brightness }}}'
    content_type:  'application/json; charset=utf-8'
    verify_ssl: false

Service call example;

test_rest_cmd:
  sequence:
  - data:
      brightness: "30"
    service: rest_command.mediaruimte_dimmer

What I’m doing wrong. I use hassio v102

Did you know what was wrong?

Hello,
I’m also facing an issue with rest command on hassio.
Do you find a solution?

Change: {{ brightness }}}’
To: “{{ brightness }}”}’