feat: Implement web-based water button status UI with a dedicated server and associated rule UI test files.
This commit is contained in:
@@ -17,9 +17,8 @@
|
||||
|
||||
import fs from 'fs';
|
||||
import path from 'path';
|
||||
import http from 'http';
|
||||
import { startStatusServer } from '../waterButtonStatusServer.js';
|
||||
import { fileURLToPath } from 'url';
|
||||
import { startStatusServer } from './waterTimerWebservice.js';
|
||||
|
||||
const __filename = fileURLToPath(import.meta.url);
|
||||
const __dirname = path.dirname(__filename);
|
||||
@@ -570,7 +569,6 @@ export default {
|
||||
startStatusServer({
|
||||
getState,
|
||||
WATER_BUTTON_MAC,
|
||||
getSendRPC: () => global.__waterBotRPC,
|
||||
setLight,
|
||||
persistedState,
|
||||
saveState
|
||||
|
||||
Reference in New Issue
Block a user