The automation script below works fine to turn the light on when my garage door opens. But if I use developer tools->services to call the the same service light.turn_on with an entity_id of light.garage_light nothing happens. Same problem when I call the service from appdaemon. Am I doing something wrong?
That version is 6 months old now, you’re going to need to specify it when starting support threads. Either way, if what I said above doesn’t work, you’ll need to post your logs
I couldn’t remember if it was passed outside the service data or not when the dropdown was present. There’s 3 ways to call a service now:
really old way
service: xyz
entity_id: blah
old way
service: xyz
data:
entity_id: blah
and new way
service: xyz
target:
entity_id: blah
all 3 still work, his version should only have the old ways working. Although there were a few versions where the new way worked but wasn’t advertised.
That is true, which is why it doesn’t make sense that there’s no errors in your logs. When a service call fails, errors will appear. You haven’t posted any logs, so I have to take your word on it. 9 times out of 10 the user is omitting information or looking in the wrong spot. I wasn’t responding to you because I don’t know what you’re doing that’s different than everyone else.
I hear you. I’ve done my fair share of tech support. I’ve attached a log extract having tried to call the service at 19:50. The zigbee errors are to due to a separate harware issue. To be fair there is not much latitude for getting it wrong when you are selecting both the service and the entity from drop-down lists in UI mode.