System Health details
Version | core-2026.4.1
Installation type | Home Assistant OS
Development | false
Supervisor | true
Docker | true
Container architecture | amd64
User | root
Virtual environment | false
Python version | 3.14.2
Operating system family | Linux
Operating system version | 6.12.67-haos
CPU architecture | x86_64
Time zone | Europe/London
Integration version ?
1.24.2
In which region is your Petkit application registered?
EU
Device type
All devices
Checklist
Describe the issue
Every poll produces either a validation error or a timeout (see debug log examples). Because of the unhandled exceptions, the integration never updates the entities.
Notes / suspected cause:
- The API now returns numeric IDs for
packageRecord / packageChanged, but PackageInfoResult still type-hints them as strings.
- The
device_detail endpoint regularly exceeds the current timeout window.
Request:
- Update
PackageInfoResult (and related models) to accept integers as well as strings.
- Consider increasing the default timeout/retry budget for
device_detail.
Thank you very much for supporting this helpful integration!
Reproduction steps
- Start Home Assistant with the Petkit integration
- Wait for the scheduled background polling (occurs roughly every minute).
- Observe the system log.
Debug logs
2026-04-06 09:22:21 ERROR [pypetkitapi.client] Task failure in record_tasks:
2 validation errors for PackageInfoResult
packageRecord: Input should be a valid string (input_value=1775061783, input_type=int)
packageChanged: Input should be a valid string (input_value=1769718989, input_type=int)
2026-04-06 09:30:31 ERROR [pypetkitapi.client]
PetkitTimeoutError('Request to https://api.eu-pet.com/latest/t6/device_detail timed out')
Diagnostics dump
No response
System Health details
Version | core-2026.4.1
Installation type | Home Assistant OS
Development | false
Supervisor | true
Docker | true
Container architecture | amd64
User | root
Virtual environment | false
Python version | 3.14.2
Operating system family | Linux
Operating system version | 6.12.67-haos
CPU architecture | x86_64
Time zone | Europe/London
Integration version ?
1.24.2
In which region is your Petkit application registered?
EU
Device type
All devices
Checklist
Describe the issue
Every poll produces either a validation error or a timeout (see debug log examples). Because of the unhandled exceptions, the integration never updates the entities.
Notes / suspected cause:
packageRecord/packageChanged, butPackageInfoResultstill type-hints them as strings.device_detailendpoint regularly exceeds the current timeout window.Request:
PackageInfoResult(and related models) to accept integers as well as strings.device_detail.Thank you very much for supporting this helpful integration!
Reproduction steps
Debug logs
Diagnostics dump
No response