There it is:
rest_command_sensor:
url: http://[IP_ADRESS]:8123/api/states/binary_sensor.movimento
method: 'POST'
headers:
authorization: Bearer [TOKEN]
content_type: "application/json"
payload: '{"state": "off"}'
There it is:
rest_command_sensor:
url: http://[IP_ADRESS]:8123/api/states/binary_sensor.movimento
method: 'POST'
headers:
authorization: Bearer [TOKEN]
content_type: "application/json"
payload: '{"state": "off"}'