Skip to content
This repository has been archived by the owner on May 7, 2020. It is now read-only.

PaperUI: Add rollershutter groupType #4340

Merged
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
Expand Up @@ -252,6 +252,7 @@ angular.module('PaperUI.controllers.configuration').controller('ItemSetupControl
switch (groupType) {
case 'Number':
case 'Dimmer':
case 'Rollershutter':
$scope.functions = itemConfig.arithmeticFunctions;
break;
case 'Contact':
Expand Down
Expand Up @@ -143,7 +143,7 @@ angular.module('PaperUI.controllers').service('sharedProperties', function() {
});
angular.module('PaperUI.constants').constant('itemConfig', {
types : [ 'Switch', 'Contact', 'String', 'Number', 'Dimmer', 'DateTime', 'Color', 'Image', 'Player', 'Location', 'Rollershutter', 'Group' ],
groupTypes : [ 'Switch', 'Contact', 'Number', 'Dimmer', 'None' ],
groupTypes : [ 'Switch', 'Contact', 'Number', 'Dimmer', 'Rollershutter', 'None' ],
arithmeticFunctions : [ {
name : "AVG",
value : "AVG"
Expand Down