API Issues - Rest API is affecting all items in a domain

I incorporated a dash button using the dasher library. However whenever I call the REST API, all items within that domain turn on for example:

“name”: “Glad Button”,
“address”: “10:ae:60:8a:f4:c5”,
“url”: “”,
“method”: “POST”,
“headers”: {“x-ha-access”: “password”},
“json”: true,
“body”: {“entity_id”: “media_player.living_room_chromecast”},
“debug”: true

This command turns all of the media_players on. Am I missing a value?


Somewhere to start: If a service like media_player.turn_on (or light.turn_on, etc) doesn’t receive a payload (the entity_id), it’ll turn on all.

So it appears that the body is not making its way to HA. I’m not 100% sure where you can see what HA’s receiving, though. I suspect you’ll need to set the logging to a higher level (like to debug) to make sure that the dasher side of things is working correctly. It appears that you’ve configured “body” correctly.

I got the Dasher Component working, I had to remove “debug” true. I was using a REST client to send the invocation and for some reason it isn’t reading the body. Must have something to do with my configuration on the Client.