Using IFTTT to change device states

Greetings All,

I have a router that supports IFTTT and can fire events based on devices joining and leaving the network.

I understand I can use the Maker channel with Home Assistant and have seen a few examples to have IFTTT events trigger things like switching off a light.

Is there a way I can use IFTTT triggers to change a device state in HA? I haven’t had any luck finding any examples of how to do this. I’m not sure what service to evoke in the action URL.

Any help would be greatly appreciated.

On your action URL:
http://your.HA.ip.address:8123/api/states/your.device(?api_password=xxxxxx) if pass needed

Method: POST

content/type: application/JSON

Body: {“state”:“your desired state”}

For examples for body take a look at developers page on your HA < > and see your entity and its state attributes