diff --git a/src/index.ts b/src/index.ts index 8ebd9d5..51d5e4e 100644 --- a/src/index.ts +++ b/src/index.ts @@ -66,7 +66,7 @@ server.post( if (!result) { reply.code(500); - return { error: "Failed to get desk position" }; + return { error: "Failed to start stand automation" }; } return result; @@ -78,7 +78,7 @@ server.get("/homeassistant/temperature", async (_request, reply) => { if (!result) { reply.code(500); - return { error: "Failed to get desk position" }; + return { error: "Failed to get temperature" }; } return result;