device state setting fix 8

This commit is contained in:
2025-11-19 10:44:18 +01:00
parent 91fdfde280
commit 87a86524d4

View File

@@ -73,7 +73,7 @@ class HomeAutomationClient {
return await this.fetch(this.api('/devices')); return await this.fetch(this.api('/devices'));
} }
async getDevice() { async getDevice(deviceId) {
return await this.fetch(this.api(`/devices/${deviceId}`)); return await this.fetch(this.api(`/devices/${deviceId}`));
} }