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:
Admin
2017-01-30 15:40:58 -06:00
parent f8de640f5d
commit 24dd427fb4
9 changed files with 81 additions and 516 deletions

View File

@@ -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);