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

Pydantic serializer warnings #134280

Open
holdestmade opened this issue Dec 30, 2024 · 1 comment
Open

Pydantic serializer warnings #134280

holdestmade opened this issue Dec 30, 2024 · 1 comment

Comments

@holdestmade
Copy link

The problem

Pydantic serializer warnings in log after updating to 2025.1.0b3, looks like it might be unifi protect related

What version of Home Assistant Core has the issue?

2025.1.0b3

What was the last working version of Home Assistant Core?

2024.12.x

What type of installation are you running?

Home Assistant OS

Integration causing the issue

Unifi Protect

Link to integration documentation on our website

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

Diagnostics information

No response

Example YAML snippet

No response

Anything in the logs that might be useful for us?

Logger: py.warnings
Source: components/unifiprotect/entity.py:451
First occurred: 4:02:39 pm (7 occurrences)
Last logged: 4:13:08 pm

/usr/local/lib/python3.13/site-packages/pydantic/main.py:426: UserWarning: Pydantic serializer warnings: Expected `str` but got `int` with value `100` - serialized value may not be as expected return self.__pydantic_serializer__.to_python(

Additional information

No response

@home-assistant
Copy link

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

Code owner commands

Code owners of unifiprotect 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 unifiprotect 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)


unifiprotect documentation
unifiprotect source
(message by IssueLinks)

@joostlek joostlek added this to the 2025.1.0 milestone Dec 30, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants