From 0ac8061118c04c6ccce8a29299239cb6fd505dea Mon Sep 17 00:00:00 2001 From: Admin Date: Fri, 3 Feb 2017 09:29:49 -0600 Subject: [PATCH] Updated LIFX impl --- pom.xml | 2 +- src/main/resources/public/scripts/app.js | 4 ++-- src/main/resources/public/views/lifxdevice.html | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/pom.xml b/pom.xml index 4e1ff3f..e45878c 100644 --- a/pom.xml +++ b/pom.xml @@ -5,7 +5,7 @@ com.bwssystems.HABridge ha-bridge - 4.1.2b + 4.1.2c jar HA Bridge diff --git a/src/main/resources/public/scripts/app.js b/src/main/resources/public/scripts/app.js index 5226dac..a6cf1b2 100644 --- a/src/main/resources/public/scripts/app.js +++ b/src/main/resources/public/scripts/app.js @@ -47,7 +47,7 @@ app.config (function ($locationProvider, $routeProvider) { controller: 'DomoticzController' }).when ('/lifxdevices', { templateUrl: 'views/lifxdevice.html', - controller: 'DomoticzController' + controller: 'LifxController' }).otherwise ({ templateUrl: 'views/configuration.html', controller: 'ViewingController' @@ -2336,7 +2336,7 @@ app.controller('LifxController', function ($scope, $location, $http, bridgeServi dimpayload = angular.toJson(lifxdevice); onpayload = angular.toJson(lifxdevice); offpayload = angular.toJson(lifxdevice); - bridgeService.buildUrls(onpayload, dimpayload, offpayload, false, lifxdevice.name, lifxdevice.name, lifxdevice.name, null, "lifxDevice", null, null); + bridgeService.buildUrls(onpayload, dimpayload, offpayload, true, lifxdevice.name, lifxdevice.name, lifxdevice.name, null, "lifxDevice", null, null); $scope.device = bridgeService.state.device; bridgeService.editNewDevice($scope.device); $location.path('/editdevice'); diff --git a/src/main/resources/public/views/lifxdevice.html b/src/main/resources/public/views/lifxdevice.html index 3973984..9383e3a 100644 --- a/src/main/resources/public/views/lifxdevice.html +++ b/src/main/resources/public/views/lifxdevice.html @@ -59,7 +59,7 @@ {{lifxdev.type}}