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
68.7k stars 28.03k forks source link

py warnings - Android TV #114420

Open Anto79-ops opened 1 month ago

Anto79-ops commented 1 month ago

The problem

hello

updating to 2024.4.0b0 and b1 on RPi4-4GB/HAOS/SSD and recieved these warnings in the log:

Logger: py.warnings
Source: components/androidtv/__init__.py:17
First occurred: 2:43:35 PM (15 occurrences)
Last logged: 2:43:35 PM

/usr/local/lib/python3.12/site-packages/ppadb/plugins/device/utils.py:85: SyntaxWarning: invalid escape sequence '\d' pattern = "userId=([\d]+)"
/usr/local/lib/python3.12/site-packages/ppadb/plugins/device/utils.py:102: SyntaxWarning: invalid escape sequence '\d' pattern = "versionName=([\d\.]+)"
/usr/local/lib/python3.12/site-packages/ppadb/plugins/device/wm.py:12: SyntaxWarning: invalid escape sequence '\s' SIZE_RE = 'Physical size:\s([\d]+)x([\d]+)'
/usr/local/lib/python3.12/site-packages/ppadb/plugins/device/traffic.py:36: SyntaxWarning: invalid escape sequence '\d' pattern = "userId=([\d]+)"
/usr/local/lib/python3.12/site-packages/ppadb/plugins/device/cpustat.py:90: SyntaxWarning: invalid escape sequence '\s' "cpu\s+([\d]+)\s([\d]+)\s([\d]+)\s([\d]+)\s([\d]+)\s([\d]+)\s([\d]+)\s([\d]+)\s([\d]+)\s([\d]+)\s")

thanks

What version of Home Assistant Core has the issue?

2024.4.0b1

What was the last working version of Home Assistant Core?

2024.3.3

What type of installation are you running?

Home Assistant OS

Integration causing the issue

AndroidTV

Link to integration documentation on our website

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

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 1 month ago

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

Code owner commands Code owners of `androidtv_remote` 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 androidtv_remote` 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)


androidtv_remote documentation androidtv_remote source (message by IssueLinks)

Drafteed commented 4 weeks ago

@home-assistant unassign androidtv_remote

home-assistant[bot] commented 4 weeks ago

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

Code owner commands Code owners of `androidtv` 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 androidtv` 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)


androidtv documentation androidtv source (message by IssueLinks)

RobertD502 commented 3 weeks ago

Although @mib1185 opened a PR to fix the issue on ppadb's end, the library itself doesn't look like it is maintained any longer with a decent amount of stale PRs.

andrewjswan commented 2 weeks ago

https://github.com/home-assistant/core/issues/115038#issuecomment-2043259083