增加token 配置

This commit is contained in:
不求圣剑
2026-01-22 14:15:05 +08:00
parent 4e138f4459
commit 2cb6473db7
4 changed files with 9 additions and 3 deletions

View File

@@ -16,6 +16,7 @@ _LOGGER = logging.getLogger(__name__)
# 配置数据模式
DATA_SCHEMA = vol.Schema(
{
vol.Required("token"): str,
vol.Optional(
"topic_prefix",
default="hb"