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
74.15k stars 31.13k forks source link

Invalid escape sequence #124883

Open tomlut opened 3 months ago

tomlut commented 3 months ago

The problem

Receive this warning in the logs when running 2024.9.0b1

Logger: py.warnings
Source: components/panasonic_viera/__init__.py:9
First occurred: 06:47:11 (1 occurrences)
Last logged: 06:47:11

/usr/local/lib/python3.12/site-packages/panasonic_viera/__init__.py:789: SyntaxWarning: invalid escape sequence '\=' prod_id = re.search("(?<=product_id\=)(.*?)(?=&apos;)", app).group(0)

What version of Home Assistant Core has the issue?

core-2024.9.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

Panasonic Viera

Link to integration documentation on our website

https://www.home-assistant.io/integrations/panasonic_viera/

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 3 months ago

panasonic_viera documentation panasonic_viera source

TheQue42 commented 1 month ago

Getting the same issue in 2024.10.3

/usr/local/lib/python3.12/site-packages/panasonic_viera/__init__.py:789: SyntaxWarning: invalid escape sequence '\=' prod_id = re.search("(?<=product_id\=)(.*?)(?=&apos;)", app).group(0)