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

未关闭 适合新手
#224 0 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看

维护者通常 1 天内回复

还没有人认领这个 Issue。

评估

难度
2/5
预计耗时
1-3 小时
新手友好度
72/100
Issue 类型
缺陷
描述清晰度
描述清楚
活跃度
活跃
技术栈
android, kotlin
领域
backend

调研方向

找到客户端的 Home Assistant 版本解析器及其测试。issue 没有注明它们所在的文件,因此请搜索生成 version_unverifiable 或解析稳定版 YYYY.M.P 的代码。检查解析器如何处理预发布后缀,然后运行相关测试。完成标准是:除稳定版本外,beta 版本(bX)、release candidate(rcX)和开发版后缀也都能被接受。

由索引模型根据 Issue 内容生成。

描述

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

主要语言
Kotlin
星标
63
派生
5
平均合并
1 天 5 小时
30 天内合并 PR
11

环境准备

在 Codespaces 中打开

在浏览器里用你自己的 GitHub 账号启动这个项目的开发容器。

  • 没有 Dockerfile 或 Docker Compose 文件
  • 没有 Pull Request 模板
  • 阅读贡献指南

从这里开始

  1. 先读完整个 Issue,再读项目的贡献指南。
  2. 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
  3. Fork 仓库,在一个分支上完成修改。
  4. 提交 Pull Request,并在描述里引用这个 Issue 编号。

panel-assistant/android 的其他 Issue

查看 panel-assistant/android 的全部 Issue

相似的 Issue

更多 Kotlin Issue

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。