mirror of
https://github.com/bwssytems/ha-bridge.git
synced 2025-12-19 00:20:26 +00:00
working on editor
This commit is contained in:
@@ -10,9 +10,6 @@ app.config (function ($routeProvider) {
|
||||
}).when ('/logs', {
|
||||
templateUrl: 'views/logs.html',
|
||||
controller: 'LogsController'
|
||||
}).when ('/editor', {
|
||||
templateUrl: 'views/editor.html',
|
||||
controller: 'EditController'
|
||||
}).when ('/editdevice', {
|
||||
templateUrl: 'views/editdevice.html',
|
||||
controller: 'EditController'
|
||||
@@ -2079,6 +2076,8 @@ app.controller('EditController', function ($scope, $location, $http, bridgeServi
|
||||
$scope.clearDevice = function () {
|
||||
bridgeService.clearDevice();
|
||||
$scope.onDevices = null;
|
||||
$scope.dimDevices = null;
|
||||
$scope.offDevices = null;
|
||||
};
|
||||
|
||||
$scope.addDevice = function () {
|
||||
|
||||
Reference in New Issue
Block a user