{devices.as(d => { return d.map(device => { if (device.get_media_class() !== type) { return ; } return ( ); }); })}