I am trying to ignore some Sonos speakers in the Home Assistant Sonos integration by adding the following configuration entries provided by the official documentation to my configuration.yaml:
sonos:
media_player:
hosts:
- 192.168.178.33
My problem is that no matter what I define in the configuration.yaml and after several reinstallations of the sonos integration and/or restarts of Home Assistant all speakers in my netwerk are being auto-discovered.
Does anyone has the same problem or a possible solution?
You can disable the entities on each speaker you want to ignore, but there’s no way to disable discovery for specific Sonos devices. What is the use case where this is necessary?
I you have a sub or rear paired speakers, then these are not actually players anymore and make up “features” on the primary speaker they are configured with (in my case an Arc with sub and two rear left/right speakers).
These speakers are showing up in the logs as failed attempts to connect to them “homeassistant.components.sonos] Failed to connect to discovered player ‘192.168.xxx.xxx’” and ideally we should be able to ignore them as there is no actual play associated with them, hence the failed connection attempts.