mirror of
https://github.com/bwssytems/ha-bridge.git
synced 2025-12-19 00:20:26 +00:00
Fixed immediate bugs for
Fixes #129 Hue pass-thru always set to purple Fixes #406 Dimming with Home Assistant Fixes #414 Domoticz error retrieving devices
This commit is contained in:
@@ -766,7 +766,7 @@ app.service ('bridgeService', function ($http, $window, ngToast) {
|
||||
$http.put(testUrl, testBody).then(
|
||||
function (response) {
|
||||
if (typeof(response.data[0].success) !== 'undefined') {
|
||||
msgDescription = "success " + angular.toJson(response.data[0].success);
|
||||
msgDescription = "success " + angular.toJson(response.data);
|
||||
}
|
||||
if (typeof(response.data[0].error) !== 'undefined') {
|
||||
msgDescription = "error " + angular.toJson(response.data[0].error);
|
||||
|
||||
Reference in New Issue
Block a user