mirror of
https://github.com/xinnan-tech/xiaozhi-esp32-server.git
synced 2026-11-24 04:19:48 +01:00
HA 的 brightness 量程是 0~255,原样交给模型会被念成"一百五十三";灯关着时是 null,还会报"亮度是:None"。换算成百分比,和设置亮度用的 brightness_pct 同一个单位,开着的灯最低报 1%(同 HA 前端);不是数字时不报这一项。附测试。 |
||
|---|---|---|
| .. | ||
| config | ||
| core | ||
| plugins_func | ||
| __init__.py | ||
| conftest.py | ||
| test_llm.py | ||
| test_manage_api_client_lifecycle.py | ||
| test_memory.py | ||
| test_rag.py | ||
| test_smoke.py | ||
| test_stt.py | ||
| test_tts.py | ||