device state setting fix 8
This commit is contained in:
@@ -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}`));
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user