Calling a service/Action with apple shortcuts

This got me against a wall because I can’t find any error log. In short I have a broadlink wifi remote control and want to call the remote.send_command service/action.

From the developer tools it seems that I need to include the target.device_id field but even if I just send the data I don’t get anything back. What am I missing?

When I send commands to my broadlink I prefer to use the entity_id (e.g. remote.broadlink_bedroom) as the target, instead of the impenetrably-named device_id.

That was a good idea. I tried changing the id to remote.wi_fi_universal_remote like the broadlink integration shows, but it didn’t work.

What worked for me was “flattening” the dictionary into just text entries. This is certainly not intuitive, and frankly I’m surprised it works this way.

Fantastic, @peterxian ! That was exactly what I had to do.

Thank you :bowing_man: