Home-Assistant-custom-components-SmartThings-Soundbar icon indicating copy to clipboard operation
Home-Assistant-custom-components-SmartThings-Soundbar copied to clipboard

Muted when used with automation

Open VincentSC opened this issue 11 months ago • 4 comments

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.

VincentSC avatar Mar 25 '24 22:03 VincentSC

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

PiotrMachowski avatar Mar 27 '24 09:03 PiotrMachowski

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.

VincentSC avatar Mar 28 '24 23:03 VincentSC

When does the muting happen?

PiotrMachowski avatar Mar 29 '24 03:03 PiotrMachowski

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

VincentSC avatar Mar 29 '24 08:03 VincentSC