From 87a86524d474e2b14e97fc092b3da586244f4e0e Mon Sep 17 00:00:00 2001 From: Wolfgang Hottgenroth Date: Wed, 19 Nov 2025 10:44:18 +0100 Subject: [PATCH] device state setting fix 8 --- apps/ui/static/api-client.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/ui/static/api-client.js b/apps/ui/static/api-client.js index b72d306..6d8a880 100644 --- a/apps/ui/static/api-client.js +++ b/apps/ui/static/api-client.js @@ -73,7 +73,7 @@ class HomeAutomationClient { return await this.fetch(this.api('/devices')); } - async getDevice() { + async getDevice(deviceId) { return await this.fetch(this.api(`/devices/${deviceId}`)); }