Open Steve-K-Pig opened 3 years ago
hi @Steve-K-Pig sorry for the delay on this. So let's ignore the delay on the slider for now - I can probably improve that, but right now it loops through multiple step up volume by 1
calls and I don't think the API likes that for large increases/decreases.
So from what you are describing, the elevate sound bar has steps from 0 to 100? Instead of creating a device specific configuration, perhaps I can make the scale overwriteable. By default, soundbars are assumed to have 31 steps (because that's what mine supports), and that's probably what's causing this issue.
Recently added an Elevate sound bar to HA using Discovery and the volume control is out of step. If I ask the integration to adjust volume using the slider the slider will go to my selection but snap back after a second. It snaps back to exactly 13 steps above or below the starting point. If I ask for volume 50 from 10 it will go up but only by 13 steps, I can ask it repeatedly until it gets close to 50 then it seems to settle on a number as close to 50 as possible i.e 48. I can call service volume_set in Node-Red and the sound bar behaves well. Send volume_level .1 and it's at volume 10 (or 10%) on actual sound bar display but slider in HA says 13. If I send volume_level .6 the actual sound bar will arrive at 60 (or 60%) but the integration slider is at ~96%. If I send volume_level 1 my ear drums pop and it is level 100 (or 100%) on the actual sound bar and the integration slider is, of course, maxed out. Adjusting step size in integration doesn't seem to help.
Thank you,