`can_change_charging_phases` missing
Chưa có ai nhận issue này.
Đánh giá
- Độ khó
- 2/5
- Thời gian dự kiến
- 1-3 giờ
- Mức phù hợp với người mới
- 64/100
Hướng nghiên cứu
Bắt đầu bằng cách đọc model PeblarSystemInformation và đường dẫn phân tích system_information được xác định bởi traceback trong peblar.py. Phản hồi đang thiếu can_change_charging_phases; hãy so sánh model với payload thông tin hệ thống của bộ sạc và các bài kiểm tra phân tích hiện có. Hoàn tất khi payload này không còn gây ra MissingField và hành vi được kiểm thử.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Mô tả
Description
I have a Coolblue Bluebuilt (Peblar whitelabel) and connecting to it via the Home Assistant integration gives the following (2026.10.2):
Issue raised here because the issue comes from this lib.
2026-10-19 12:41:11.580 ERROR (MainThread) [homeassistant.components.peblar] Unexpected exception
Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/components/peblar/config_flow.py", line 46, in async_step_user
info = await peblar.system_information()
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.14/site-packages/peblar/peblar.py", line 523, in system_information
return PeblarSystemInformation.from_json(result)
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^
File "<string>", line 30, in __mashumaro_from_json__
mashumaro.exceptions.MissingField: Field "can_change_charging_phases" of type bool is missing in PeblarSystemInformation instance
2026-10-19 12:41:21.298 ERROR (MainThread) [homeassistant.components.peblar] Unexpected exception
Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/components/peblar/config_flow.py", line 46, in async_step_user
info = await peblar.system_information()
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.14/site-packages/peblar/peblar.py", line 523, in system_information
return PeblarSystemInformation.from_json(result)
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^
File "<string>", line 30, in __mashumaro_from_json__
mashumaro.exceptions.MissingField: Field "can_change_charging_phases" of type bool is missing in PeblarSystemInformation instance
2026-10-19 12:42:23.381 ERROR (MainThread) [homeassistant.components.peblar] Unexpected exception
Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/components/peblar/config_flow.py", line 46, in async_step_user
info = await peblar.system_information()
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.14/site-packages/peblar/peblar.py", line 523, in system_information
return PeblarSystemInformation.from_json(result)
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^
File "<string>", line 30, in __mashumaro_from_json__
mashumaro.exceptions.MissingField: Field "can_change_charging_phases" of type bool is missing in PeblarSystemInformation instance
Version
2.1.0
Additional information
- Ngôn ngữ chính
- Python
- Star
- 12
- Fork
- 10
- Chỉ số merge pull request
- Không có pull request nào được merge trong 30 ngày
Chuẩn bị môi trường
Khởi chạy dev container của dự án ngay trên trình duyệt, bằng tài khoản GitHub của bạn.
- Không có Dockerfile hay tệp Docker Compose
- Có mẫu pull request
- Đọc hướng dẫn đóng góp
Bắt đầu từ đâu
- Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
- Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
- Fork repository và làm thay đổi trên một nhánh.
- Mở pull request có tham chiếu số hiệu của issue.
Issue khác của frenck/python-peblar
-
Độ khó 3/5 1-2 ngày Mức phù hợp với người mới 72/100
frenck/python-peblar#473 ·
-
Dependency DashboardĐang mởno-stale
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 20/100
frenck/python-peblar#4 ·
Tất cả issue của frenck/python-peblar
Issue tương tự
-
docs(contributing): the two things that silently block a PRCó thể đã có người làm Có pull request liên kết đang mở hoặc đã được merge. Đang mởavailable documentation good first issue
Độ khó 1/5 1-3 giờ Mức phù hợp với người mới 95/100
Nixitov/Riptide-Native#944 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
bug
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 88/100
JTHCode/secretguard#24 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
area: middleware documentation good first issue
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 88/100
-
enhancement good first issue
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 88/100
Maintainer thường phản hồi trong vòng 1 ngày
-
good first issue
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 95/100
omarelshamy25x/shamy-hijri#63 ·
Maintainer thường phản hồi trong vòng 1 ngày