LG soundbar Automation Action

The lg_soundbar integration creates an entity that allows me to manipulate the Volume, Source, and Sound mode from the Info tab (see screenshot)

However, I cannot figure out how to act on these Operations from an Automation Action.

What am i missing?

What are you trying to do? Do you want to take some action when the state of the soundbar changes or do you want to use an automation to change the soundbar based on some other event?

I want to use an automation to set/change the Source and Sound mode of the soundbar.

So the soundbar should have created a media_player.
In your automation, for the action you would set something like this:

Depending on how you want to set the source, say you want a button on your lovelace gui then you could just set the action as part of the button setup and not have to write an automation.

Media players have multiple services you can call to change things. All the services are listed here.

1 Like

This appears to be working, thank you!