Hi, very new to HA (and encode), I want to hit a http link as an action using Automation
for ex. http://192.168.178.101/apps/api/4/devices/1797/departed?access_token=12356985458955455
How do I do this?
Hi, very new to HA (and encode), I want to hit a http link as an action using Automation
for ex. http://192.168.178.101/apps/api/4/devices/1797/departed?access_token=12356985458955455
How do I do this?
Create a rest command:
Your command will then be available as a service you can call in your automation actions. e.g.
Restful command (in configuration.yaml)
rest_command:
cinema_enhancer_on:
url: "http://10.1.1.17/YamahaExtendedControl/v1/main/setEnhancer?enable=true"
Automation action:
action:
- service: rest_command.cinema_enhancer_on