mirror of
https://github.com/bwssytems/ha-bridge.git
synced 2025-12-22 09:22:23 +00:00
Fix HomeGenie response review for errors. Updated Readme, removed the row index from the devices tab
This commit is contained in:
@@ -39,7 +39,7 @@ public class HomeGenieInstance {
|
||||
|
||||
String theData = httpClient.doHttpRequest(aUrl, HttpPut.METHOD_NAME, "application/json", null, httpClient.addBasicAuthHeader(null, homegenieIP));
|
||||
log.debug("call Command return is: <<<{}>>>", theData);
|
||||
if (!theData.contains("OK"))
|
||||
if (theData.toLowerCase().contains("error"))
|
||||
return false;
|
||||
return true;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user