Commit 7f70c8d1 authored by Michael Tross's avatar Michael Tross

filter list of vdcs also by model uid

reduces amount of requests for property queries
parent bfcc4ef1
......@@ -469,7 +469,8 @@ var vdc_search_callback = function(data)
var circuit = circuits[i];
if ((circuit.isPresent === true) &&
(circuit.isValid === true) &&
(circuit.busMemberType === 33)) // vdc host
(circuit.busMemberType === 33) && // vdc host
(circuit.VdcModelUID === "libdsvdc:netatmo")) // netatmo vdc
{
devices.push(circuits[i]);
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment