home-assistant / core

:house_with_garden: Open source home automation that puts local control and privacy first.
https://www.home-assistant.io
Apache License 2.0
72.98k stars 30.53k forks source link

syntax warning - component solaredge (2) #123084

Open ChristophCaina opened 2 months ago

ChristophCaina commented 2 months ago

The problem

Unfortunately, the error which I've reported in #114750 seems to be back :-(

Logger: py.warnings
Source: components/solaredge/coordinator.py:10
First occurred: 6:07:03 PM (1 occurrences)
Last logged: 6:07:03 PM

/usr/local/lib/python3.12/site-packages/stringcase.py:247: SyntaxWarning: invalid escape sequence '\W' return re.sub("\W+", "", string)

What version of Home Assistant Core has the issue?

2024.8.0b1

What was the last working version of Home Assistant Core?

No response

What type of installation are you running?

Home Assistant OS

Integration causing the issue

No response

Link to integration documentation on our website

No response

Diagnostics information

No response

Example YAML snippet

No response

Anything in the logs that might be useful for us?

No response

Additional information

No response

home-assistant[bot] commented 2 months ago

Hey there @frenck, @bdraco, mind taking a look at this issue as it has been labeled with an integration (solaredge) you are listed as a code owner for? Thanks!

Code owner commands Code owners of `solaredge` can trigger bot actions by commenting: - `@home-assistant close` Closes the issue. - `@home-assistant rename Awesome new title` Renames the issue. - `@home-assistant reopen` Reopen the issue. - `@home-assistant unassign solaredge` Removes the current integration label and assignees on the issue, add the integration domain after the command. - `@home-assistant add-label needs-more-information` Add a label (needs-more-information, problem in dependency, problem in custom component) to the issue. - `@home-assistant remove-label needs-more-information` Remove a label (needs-more-information, problem in dependency, problem in custom component) on the issue.

(message by CodeOwnersMention)


solaredge documentation solaredge source (message by IssueLinks)

boudewijngeijtenbeek commented 1 month ago

Got the same log message when moving from Home Assistant Core 2024.8.3 to 2024.9.1 on Home Assistant OS 13.1. Note: for some reason I did not get the log message on Home Assistant Core 2024.8.3.

Logger: py.warnings
Source: components/solaredge/coordinator.py:10
First occurred: 15:47:46 (1 occurrences)
Last logged: 15:47:46

/usr/local/lib/python3.12/site-packages/stringcase.py:247: SyntaxWarning: invalid escape sequence '\W' return re.sub("\W+", "", string)