Skip to content

[BUG] G502 mouse making Mobile App Sensor Multiple times when detached (using KVM Switch) #374

Open
@mxp83

Description

@mxp83

Go Hass Agent Version
v10.5.1

Describe the bug
In Home Assistant, inside mobile app, my G502 has multiple unknown sensors due to when I switch my KVM to PC while my linux box is on. The last valid state is still shown, and when reconnected adds a new sensor with _2 (ascending number) at the end.

To Reproduce
Steps to reproduce the behaviour:

  1. Have KBM switch with G502 wireless dongle attached connected to 2 machines (in my case a win 11, and fedora bazzite on the other)
  2. Switch input source (from Linux to PC). Wait a few mins, switch back.
  3. Go to Home Assistant integration and look at sensors.
  4. See image.

Expected behaviour
Maintain the original sensor.

Screenshots
Imgur Link

Logs
I currently don't have a log because I the linux machine is off (Steam Deck) and not connected at the moment. Will upload later.

Desktop (please complete the following information):

  • OS: Bazzite 41 (Linux Fedora)
  • Distribution Linux Fedora 41
  • Version 41

Additional context
KVM switch is a USB3 switch which is also powered externally by an adapter. Single button on the switch alternates the source. The port used on the switch for the Logitech G502 is USB3. The G502 is currently using the Input Remapper software to enable Logitech sidebuttons.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions