PiotrMachowski / Home-Assistant-custom-components-SmartThings-Soundbar

Samsung Smarthings API for controlling Soundbar
MIT License
91 stars 24 forks source link

Muted when used with automation #65

Open VincentSC opened 8 months ago

VincentSC commented 8 months ago

Great plugin, as this is what I really needed: select the source with a single button.

Unfortunately there is a problem in automation with the 990B. It mutes the soundbar immediately after setting the volume. During setup of the automation, the sound gets muted every time I open the config again.

When I disable elif cmdtype == "audiomute": completely, then it works - no surprise here. I can't find anything in the code that could cause it - all mute-defaults are False. One is != "unmuted" but when replacing that with False the problem is still there.

My guess is that HASS 2024.3.3 does not play nicely with this plugin, but totally have no clue where exactly it's caused.

PiotrMachowski commented 8 months ago

I don't really understand what you mean... Can you show the problematic automation?

VincentSC commented 8 months ago

It mutes the soundbar, while I don't have configured it as such. As if something overrides the mute-setting.

It's also with the scene-editor. I save it unmuted, but still it mutes when I apply the scene. So a simple scene, with only one entity "soundbar" and nothing else.

PiotrMachowski commented 8 months ago

When does the muting happen?

VincentSC commented 8 months ago

When the scene (or automation) is activated. It sets the source, the volume and "mute".