public NetatmoScriptObject[] all() { var devices = _gateway.GetDevices(); return(devices .Select(d => new NetatmoScriptObject(d)) .ToArray()); }