Home Assistant version check fails on beta releases (e.g. 2026.12.0b2)

Đang mở Phù hợp với người mới
#224 0 bình luận 0 reaction 0 người được giao Xem trên GitHub

Maintainer thường phản hồi trong vòng 1 ngày

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
72/100
Loại issue
Lỗi
Độ rõ ràng
Đặc tả rõ ràng
Mức độ hoạt động
Sôi nổi
Công nghệ
android, kotlin
Lĩnh vực
backend

Hướng nghiên cứu

Tìm bộ phân tích phiên bản Home Assistant phía client và các bài kiểm thử của nó. Issue không nêu tên các tệp, vì vậy hãy tìm đoạn mã tạo ra version_unverifiable hoặc phân tích các phiên bản ổn định YYYY.M.P. Kiểm tra cách bộ phân tích xử lý hậu tố phiên bản phát hành trước, sau đó chạy các bài kiểm thử liên quan. Hoàn thành khi các phiên bản beta (bX), release candidate (rcX) và hậu tố phát triển được chấp nhận cùng với các phiên bản ổn định.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Mô tả

bug
Panel app version

1.0.6 (2841)

Panel hardware

Other (state in description)

What happened?

When connecting the panel app to a Home Assistant Core instance running a beta release (2026.12.0b2), the renderer enters state=blocked with outcome=version_unverifiable and displays:
"Version de Home Assistant impossible à vérifier — la réponse (“2026.12.0b2”) n'a pas été reconnue."

Expected behavior: The client-side version parser should accept Home Assistant beta/pre-release suffixes (bX, rcX, dev) in addition to stable YYYY.M.P strings.

Steps to reproduce
  1. Run Home Assistant Core on a beta release (2026.12.0b2).
  2. Open the Panel Assistant app (1.0.6 (2841)) on the device and point it to the Home Assistant instance.
  3. Observe the "Version de Home Assistant impossible à vérifier" screen rejecting "2026.12.0b2".
Diagnostics dump
Panel Assistant diagnostics — 1.0.6 (2841)
[captured] 2026-11-29T09:36:21.156002+01:00 uptime=1h8m
[package] io.panelassistant.android

[panel]
ha-paneld=1.0.6 (2841)
Android=15 (API 35)
Firmware=lineage_lime-userdebug 15 BP1A.250505.005 eng.buxx release-keys
Device=Xiaomi M2010J19SY (lemon)
CPU=8 cores · arm64-v8a · qcom
RAM=3.6 GB total · 1.6 GB free
Storage=50,6 GB (data) · 47,7 GB free
Display=1080×2340 px · logical 440 dpi
System WebView=com.android.webview 137.0.7151.72
HA Companion=2026.11.1-minimal (io.homeassistant.companion.android.minimal)
Security mode=Relaxed
Keep panel responsive=on · power locks held
Prevent idle dim=on · timeout never
Android dashboard lock=off
LED=none
Nav actions (a11y)=yes
Navbar=Native
Zigbee=none
Relays=none
Network ADB=persistent (5555) · listening
USB debugging=on
Audio playback=idle
App database=628.0 KB used · 1.1 MB on disk · schema 14

[build] fingerprint=Redmi/lime_global/lime:12/RKQ1.211130.001/V14.0.5.0.SJQMIXM:user/release-keys
board=bengal product=lineage_lime hardware=qcom abis=arm64-v8a,armeabi-v7a,armeabi
[webview-signing] provider=com.android.webview cert_sha256=38f82e4b317a21341aa388138181335a3843ce5bbaf038a3417554d0e74b1a17
[profile] id=generic revision=16088624128a
[boot-security] verified=green flash=locked vbmeta=locked build=userdebug debuggable=unknown
[adb lease] adb_lease scope=process_local reset=process_or_runtime_restart process_id=13647-2090487 runtime_id=1 age_ms=2008702 elapsed_age_ms=2008701 gap_clock=uptime_monotonic arms=0 beats=0 skip_unhealthy=0 skip_state_unavailable=0 skip_beat_false=0 skip_arm_false=0 skip_socket_error=0 beat_gap_count=0 beat_gap_max_ms=-1 beat_gap_p99_upper_ms=-1 beat_gap_p999_upper_ms=-1 renewal_gap_count=0 renewal_gap_max_ms=-1 renewal_gap_p99_upper_ms=-1 renewal_gap_p999_upper_ms=-1 healthy_renewal_gap_count=0 healthy_renewal_gap_max_ms=-1 healthy_renewal_gap_p99_upper_ms=-1 healthy_renewal_gap_p999_upper_ms=-1 lock_wait_ge1000_count=0 lock_wait_ge1000_max_ms=-1 lock_wait_ge1000_p99_upper_ms=-1 lock_wait_ge1000_p999_upper_ms=-1 percentiles=fixed_histogram_upper_bounds_ms beat_gap_rearm=censored
[helper install] last=ALREADY_CURRENT reason=bundled_build_serving at=2026-11-29T08:02:52Z elapsed_ms=237 running=no
[env] selinux=1 su=true write_settings=true secure_settings=true device_name="Téléphone de test" a11y=true daemon=true evdev=stopped/none
[display-sizing] android_base_logical_dpi=440 current_logical_dpi=440 override_dpi=none font_scale=1.0 profile_recommended_dpi=? profile_recommended_font_scale=none
[renderer] mode=builtin state=blocked outcome=version_unverifiable fault=none detail=none recovery=at_ceiling transport=http address_family=automatic observed_age=4m process_age=33m package_updated=33m theme=follow/unobserved
[ha-network] state=idle measuring=false
[ha-path-probe] state=unowned
[camera] state=idle outcome=ok fault=none detail=none recovery=none clients=0 last_frame=31m57s failures=0 indication=none stream_clients=0 stream_port=8554 encoder=none encode=none delivered=none requested_fps=none snapshot_exposure=none/0
[voice] enabled=false microphone=unproven check=not_run muted=false detail=- wake_words=["okay_nabu"] pipelines={} source=voice_recognition sensitivity=normal gain_db=0 stop_word=true route=voice_recognition/16000/1(closed) aec=- rebuilds=0
[storage-health] state=healthy pressure_state=healthy usable_bytes=47677132800 total_bytes=50580025344 used_percent=5.739207373379366 database_bytes=643072 wal_bytes=524288 sidecar_bytes=32768 page_size_bytes=4096 page_count=157 freelist_count=1 schema_version=14 quick_check=ok auto_vacuum=incremental checked_at=1795939858334 failure=none failure_operation=none remediation=not_run
[power-safety] state=safe keep_awake=true wake_lock=true wifi_lock_required=true wifi_lock=true prevent_idle_dim=true screen_timeout_ms=2147483647 interactive=true power_source=ac plugged_mask=1 stay_on_mask=15 stay_on_effective=true device_idle=false doze_exempt=true screen_off=brightness_zero screen_off_selected=unknown screen_off_reason="not yet exercised; no screen-off has occurred since this controller was constructed" reasons=none
[sysfs] leds=[] backlight=[panel0-backlight] devfreq=[]
[labels] ls: /sys/class/leds/*/: Permission denied
[hardware]
  inputs=[]
  i2c=[]
  iio=[]
  thermal=[cooling_device0:thermal-cpufreq-0, cooling_device1:thermal-cpufreq-4, cooling_device10:cpu-isolate5, cooling_device11:cpu-isolate6, cooling_device12:cpu-isolate2, cooling_device13:cxip-cdev, cooling_device14:panel0-backlight, cooling_device15:thermal-devfreq-0, cooling_device16:battery, cooling_device17:adsp_vdd, cooling_device18:hvx, cooling_device19:cdsp, cooling_device2:cx-cdev-lvl, cooling_device20:modem_pa, cooling_device21:modem_proc, cooling_device22:modem_vdd, cooling_device23:modem_current, cooling_device24:modem_skin, cooling_device25:modem_wlan, cooling_device3:mx-cdev-lvl, cooling_device4:cpu-isolate0, cooling_device5:cpu-isolate1, cooling_device6:cpu-isolate7, cooling_device7:lmh-cpu-vdd0]
  relays=[]
[packages] android=not installed minimal=2026.11.1-minimal
[vendor-service] port=- state=skipped:none attempts=0
[capabilities] Root (su)=ok | Verified app update / screenshot / display=ok | Screen brightness=ok | Screen on/off=degraded | RGB LED=none | Hardware buttons=ok | Reboot / reload / launcher=ok
[update-check] scheduled Companion release lookup at 2026-11-29T08:03:23Z: ok
[companion-db] read failed: rc=1 db=/data_mirror/data_ce/null/0/io.homeassistant.companion.android.minimal/databases/HomeAssistantDB: Error: unable to open database "file:/data_mirror/data_ce/null/0/io.homeassistant.companion.android.minimal/databases/HomeAssistantDB?immutable=1": unable to open database file
gone (410) answers: 0
Panel Assistant diagnostics

config_entry-panel_assistant-01M87MJQB2K43W97WT4DVJ75H4.json

Home Assistant and Panel Assistant versions

Home Assistant 2026.12.0b2, Panel Assistant 1.0.6

Relevant logs

Ngôn ngữ chính
Kotlin
Star
63
Fork
5
Merge trung bình
1 ngày 5 giờ
Pull request đã merge (30 ngày)
11

Chuẩn bị môi trường

Mở trong Codespaces

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.

Bắt đầu từ đâu

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. 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.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Issue khác của panel-assistant/android

Tất cả issue của panel-assistant/android

Issue tương tự

Thêm issue về Kotlin

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.