Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

HA Restart produces SyntaxWarning #391

Open
chupacabra71 opened this issue Nov 8, 2024 · 2 comments
Open

HA Restart produces SyntaxWarning #391

chupacabra71 opened this issue Nov 8, 2024 · 2 comments

Comments

@chupacabra71
Copy link

I see the below error in the logs every time i do an HA restart. Things seem to be operating normally, but thought i would raise the issue.


Logger: py.warnings
Source: custom_components/icloud3/helpers/entity_io.py:259
integration: iCloud3 v3: iDevice Tracker (documentation, issues)
First occurred: 1:50:51 PM (2 occurrences)
Last logged: 1:50:51 PM

<string>:1: SyntaxWarning: invalid escape sequence '\s'```
@gcobb321
Copy link
Owner

gcobb321 commented Nov 8, 2024

Another user has the same message. I looked at the code and saw nothing. That area of code is reformatting some of the HA zone registry info into another table to make it easier to work with. And it has error catching code around it so it must actually be coming from HA. Anything strange you notice about the zones listed in the Event Log when iCloud3 starts?

@chupacabra71
Copy link
Author

not really anything that jumps out at me. in the event log when it loads the zones i see this:

Set up Zones > zone, Display (fname)
• boat, Boat (r171m/0.11mi)
• food_lion, Food Lion (r65m/213.3ft)
• mom_house, Mom House (r60m/196.9ft)
• fresh_market, Fresh Market (r50m/164.0ft)
• nandy_s_house, Nandy's House (r34m/111.5ft)
• eagles_club, Eagles Club (r50m/164.0ft)
• harris_teeter, Harris Teeter (r120m/393.7ft)
• lowe_s, Lowe's (r80m/262.5ft)
• publix, Publix (r50m/164.0ft)
• home_depot, Home Depot (r100m/328.1ft)
• home, Beach (r50m/164.0ft)

the zone names look good to me, but maybe it is having some trouble with the apostrophes on some of the names?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants