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