@epoxsv wrote:
Hi All,
Thanks for our work about HA !I need yout help, i want to integration Awtrix (LED MATRIX) to my HA with REST.
I have created REST INTEGRATION on my config.yaml
- rest_command:
- awtrix_notify:
- url: http://IP/api/v3/settings
- method: POST
- payload: ‘{“Brightness”: “70”}’
- content_type: ‘application/json’
When I send my service “rest_command.awtrix_notify” in developper tools, it work fine
But is it possible to create an variable for value of Brightness (70 in my example) ? How can I do that ?
When i send my service “rest_command.awtrix_notify”, I want to send Brightness in parameter.Thanks for your help !
Posts: 2
Participants: 2