8000 PurpleAir integration is throwing Pydantic serializer warnings · Issue #145010 · home-assistant/core · GitHub
[go: up one dir, main page]

Skip to content
PurpleAir integration is throwing Pydantic serializer warnings #145010
@geokscott

Description

@geokscott

The problem

Example:

`Logger: py.warnings
Source: components/purpleair/coordinator.py:75
First occurred: 3:08:51 PM (9 occurrences)
Last logged: 3:23:14 PM

/usr/local/lib/python3.13/site-packages/pydantic/main.py:463: UserWarning: Pydantic serializer warnings: PydanticSerializationUnexpectedValue(Expected `list[int]` - serialized value may not be as expected [input_value='30347,76347', input_type=str]) return self.__pydantic_serializer__.to_python(
/usr/local/lib/python3.13/site-packages/pydantic/main.py:463: UserWarning: Pydantic serializer warnings: PydanticSerializationUnexpectedValue(Expected `list[int]` - serialized value may not be as expected [input_value='76347', input_type=str]) return self.__pydantic_serializer__.to_python(

`

What version of Home Assistant Core has the issue?

core-2025.5.1

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

PurpleAir

Link to integration documentation on our website

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

Diagnostics information

home-assistant_purpleair_2025-05-15T22-29-34.547Z.log

Example YAML snippet

Anything in the logs that might be useful for us?

Additional information

No response

Metadata

Metadata

Assignees

Type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions

    0