Closed ResteNarquois closed 6 months ago
Hey there @thibmaek, mind taking a look at this issue as it has been labeled with an integration (discogs
) you are listed as a code owner for? Thanks!
(message by CodeOwnersMention)
discogs documentation discogs source (message by IssueLinks)
Actually, digging a bit deeper, this seems to be an upstream issue in the discogs_client
helper, and a PR has already been submitted there. I'll close this as not relevant to HA core.
The problem
Set up of Discogs platform creates warning in HA logs about 'invalid escape sequence'. This has been happening since 2024.02 and the move to Python 3.12. I've been slow to report as the function of the Collection and Random Record sensors seems otherwise unaffected (I don't use the Wantlist sensor).
I think it may be related to this change:
Reject invalid escape sequences (and octal escape sequences) in bytes and Unicode strings
The note here suggests it will eventually become an error rather than a warning.
What version of Home Assistant Core has the issue?
2024.02 and above
What was the last working version of Home Assistant Core?
2024.01
What type of installation are you running?
Home Assistant OS
Integration causing the issue
Discogs
Link to integration documentation on our website
https://www.home-assistant.io/integrations/discogs/
Diagnostics information
No response
Example YAML snippet
Anything in the logs that might be useful for us?
Additional information
No response