Skip to content

Silence harmless sonos data structure warnings#12767

Merged
balloob merged 1 commit intohome-assistant:devfrom
amelchio:soco-data_structures_entry-silence
Feb 28, 2018
Merged

Silence harmless sonos data structure warnings#12767
balloob merged 1 commit intohome-assistant:devfrom
amelchio:soco-data_structures_entry-silence

Conversation

@amelchio
Copy link
Copy Markdown
Contributor

Description:

The recent Sonos rework increased the allowed logging because it appeared that SoCo did not produce logs at that level in normal operation.

However, a frequent but harmless warning has now been reported. This PR turns the logging level back down for the module emitting that warning.

I have not yet managed to produce the warning myself so the change is untested for the time being.

Related issue (if applicable): fixes #12745

Checklist:

  • The code change is tested and works locally.

If the code communicates with devices, web services, or third-party tools:

  • Local tests with tox run successfully.
  • New dependencies have been added to the REQUIREMENTS variable.
  • New dependencies are only imported inside functions that use them.
  • New dependencies have been added to requirements_all.txt by running script/gen_requirements_all.py.
  • New files were added to .coveragerc.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Soco error on startup - unable to upgrade data structure

3 participants