Skip to content

Negative volume received #104

@marcselman

Description

@marcselman

I'm not sure this is the right place but here goes:

I'm using the Sony Songpal integration in Home Assistant.
I have a Sony STR-DN1080.
Home Assistant has discover 3 devices for my receiver.

  • A Sony Songpal device
  • A DLNA Digital Media Renderer device
  • A Google Cast device

Everything seems to work great. But there's one strange issue.
I have my TV and a Nvidia Shield connected using HDMI-CEC.
So when I change the volume of either device, the volume of the receiver is changed.

The issue is that the first time I change the volume with either a HDMI device or the receiver itself I receive a negative volume state of -0.01818181818181818.
For example I'm using the receiver remote to change the volume and Home Assistant will receive the correct values.
Then I switch to the TV remote and Home Assistant will receive a negative value. The next volume changes with the TV remote will result in normal values.
If I then switch back to the receiver remote the first click, again, will result in the same negative value and every change after that is normal.

So everytime I switch between the receiver and a connected HDMI device I receive a negative volume once.

I hope my explanation is clear. Please let me know if this is indead an issue with this repo and if you need more information.

Thanks.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions