diff --git a/homebridge-ui/server.js b/homebridge-ui/server.js index 593886c..9f46e00 100644 --- a/homebridge-ui/server.js +++ b/homebridge-ui/server.js @@ -4,8 +4,8 @@ /* eslint-disable new-cap */ 'use strict'; -const { HomebridgePluginUiServer } = require('@homebridge/plugin-ui-utils'); -const fs = require('fs'); +import { HomebridgePluginUiServer } from "@homebridge/plugin-ui-utils"; +import * as fs from "node:fs"; class PluginUiServer extends HomebridgePluginUiServer { constructor () {