diff --git a/server/src/utils.ts b/server/src/utils.ts index aa4bc88..bc1c639 100644 --- a/server/src/utils.ts +++ b/server/src/utils.ts @@ -42,7 +42,7 @@ let lamps: Lamp[]; // lights, so we use the Hue naming and wrap the underlying methods. export const getLights = async (hue: Hue) => { try { - const lights = await hue.getLamps(); + const lights = hue.getLamps(); debug.extend("getLights")(`#AntRKF ${JSON.stringify(lights)}`); return lights; } catch (error) {