I’ve done a little research and it appears that the error message is saying that I’m trying to send an extra dictionary key in my data for the “state” collection.
Hey, I ended up using the following and it worked: curl -X POST -H "x-ha-access: <myPassword>" -H "Content-Type: application/json" -d '{"entity_id": "switch.living_room_lamp_2"}' http://192.168.1.80:8123/api/services/homeassistant/turn_on?api_password=<myPassword>
Somewhere in the documentation I got the notion that I needed to pass the “state” property. I found another example where I did not. Once I got the curl request working I was also able to post via Tasker with this JSON. Thanks for the help!