feat: 更新依赖项版本,添加新功能并重构代码,增强 ASR 服务和灯光控制逻辑
This commit is contained in:
2
assistant/src/routes/ha-api/ha.ts
Normal file
2
assistant/src/routes/ha-api/ha.ts
Normal 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 });
|
||||
@@ -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';
|
||||
|
||||
Reference in New Issue
Block a user