feat: integrate light control functionality with Home Assistant

- Added LightHA class to manage light services.
- Implemented searchLight method for device discovery.
- Created app.ts and index.ts for application setup and routing.
- Developed callText function to parse and execute light commands.
- Established routes for handling Home Assistant control commands.
- Configured Bun for building the application with TypeScript support.
This commit is contained in:
2026-01-31 16:11:52 +08:00
parent f18c6d4e3d
commit d17efcc606
10 changed files with 740 additions and 37 deletions

4
.gitignore vendored
View File

@@ -1,4 +1,6 @@
node_modules
.env
!env*example
!env*example
dist