Add renumbering and HomeGenie Helper

This commit is contained in:
BWS Systems
2019-06-04 16:36:21 -05:00
parent 3e76e6298a
commit fe0b072b4e
38 changed files with 1147 additions and 200 deletions

View File

@@ -5113,6 +5113,20 @@ app.filter('configuredBroadlinkItems', function (bridgeService) {
};
});
app.filter('configuredMozIotItems', function (bridgeService) {
return function (input) {
var out = [];
if (input === undefined || input === null || input.length === undefined)
return out;
for (var i = 0; i < input.length; i++) {
if (bridgeService.deviceContainsType(input[i], "moziot")) {
out.push(input[i]);
}
}
return out;
};
});
app.filter('filterDevicesByRequester', function () {
return function (input, search, mustContain, deviceType) {
var out = [];