Skip to content

Commit

Permalink
Silence harmless sonos data structure warnings (#12767)
Browse files Browse the repository at this point in the history
  • Loading branch information
amelchio authored and balloob committed Mar 1, 2018
1 parent eeb9992 commit 3a2c3fe
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions homeassistant/components/media_player/sonos.py
Expand Up @@ -32,6 +32,7 @@

# Quiet down soco logging to just actual problems.
logging.getLogger('soco').setLevel(logging.WARNING)
logging.getLogger('soco.data_structures_entry').setLevel(logging.ERROR)
_SOCO_SERVICES_LOGGER = logging.getLogger('soco.services')

SUPPORT_SONOS = SUPPORT_VOLUME_SET | SUPPORT_VOLUME_MUTE |\
Expand Down

0 comments on commit 3a2c3fe

Please sign in to comment.