feat: 更新依赖项版本,添加新功能并重构代码,增强 ASR 服务和灯光控制逻辑

This commit is contained in:
2025-12-23 00:40:09 +08:00
parent 03be62cfe6
commit 4bdebd66d4
6 changed files with 187 additions and 5 deletions

View File

@@ -0,0 +1,2 @@
import { LightHA } from "@kevisual/ha-api";
export const lightHA = new LightHA({ token: process.env.HAAS_TOKEN || '', homeassistantURL: process.env.HAAS_URL });

View File

@@ -5,6 +5,8 @@ import './ai/index.ts';
// TODO:
// import './light-code/index.ts';
import './user/index.ts';
// TODO: 移除
import './hot-api/key-sender/index.ts';
import os from 'node:os';